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

Method cmdOk

src/main/java/PrivacyLists/QuickPrivacy.java:54–65  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

52 }
53
54 public void cmdOk() {
55 cf.useQuickPrivacy = usePrivacy.getValue();
56 cf.notInListDropLevel = nil.getSelectedIndex();
57 if (cf.useQuickPrivacy) {
58 updateQuickPrivacyList();
59 } else {
60 new PrivacyList(null).activate("active");
61 new PrivacyList(null).activate("default");
62 }
63 cf.saveToStorage();
64 destroyView();
65 }
66
67 public int blockArrived(JabberDataBlock data) {
68 if (!cf.useQuickPrivacy)

Callers

nothing calls this directly

Calls 6

getSelectedIndexMethod · 0.80
activateMethod · 0.80
getValueMethod · 0.45
saveToStorageMethod · 0.45
destroyViewMethod · 0.45

Tested by

no test coverage detected