// In case that the triggered event was due to one of the context menu items, process
// the event by the context menu handler
tbp.tc.popupMenuEvent(mev.selectedItem);
...
else if(mev.selectedItem == loadOC){
OCXMLImporter oc = new OCXMLImporter(pref,profile);
oc.doIt();
Filter.showBlacklisted=false;
filtBlack.modifiers&=~MenuItem.Checked;
tbp.resetModel();
}
else if (mev.selectedItem == update) {
updateSelectedCaches(tbp);
}
else if(mev.selectedItem == mnuForceLogin) {
mnuForceLogin.modifiers^=MenuItem.Checked;
Global.getPref().forceLogin=(mnuForceLogin.modifiers&MenuItem.Checked)!=0;
Global.getPref().savePreferences();
}
...
...
else{
// In case that the triggered event was due to one of the context menu items, process
// the event by the context menu handler
tbp.tc.popupMenuEvent(mev.selectedItem);
}
Warst Du nicht auch derjenige, der Schönheitsoperationen auf die Zeit nach 1.0 verschieben wollte? ;-)MiK schrieb:Ja, das meinte ich. Und das würde das Problem auch lösen. Trotzdem finde ich die Stringvergleiche im Kontextmenü doof. Vielleicht mache ich beides.
Sieht gut aus und funktioniert...MiK schrieb:Hier jedenfalls jetzt der neue Patch zum Review:
Commited!Kappler schrieb:Sieht gut aus und funktioniert...MiK schrieb:Hier jedenfalls jetzt der neue Patch zum Review:
(zum Glück sind nicht alle so faul wie ich.)