MCPcopy Create free account
hub / github.com/BombusMod/BombusMod / cmdOk

Method cmdOk

src/main/java/History/HistoryConfig.java:104–117  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

102 }
103
104 public void cmdOk() {
105//#ifdef LAST_MESSAGES
106 cf.lastMessages=loadHistory.getValue();
107//#endif
108 cf.msgLog=saveHistory.getValue();
109 cf.msgLogPresence=savePres.getValue();
110 cf.msgLogConf=saveConfHistory.getValue();
111 cf.msgLogConfPresence=saveConfPres.getValue();
112//#ifdef DETRANSLIT
113 cf.transliterateFilenames=translit.getValue();
114//#endif
115 cf.msgPath=historyFolder.getValue();
116 cf.saveToStorage();
117 }
118 public void commandState() {
119 super.commandState();
120 addMenuCommand(cmdPath);

Callers

nothing calls this directly

Calls 2

getValueMethod · 0.45
saveToStorageMethod · 0.45

Tested by

no test coverage detected