PDE X prefs work

This commit is contained in:
Manindra Moharana
2014-06-26 13:40:37 +05:30
parent 4d4dcfa5ac
commit 2c8649fff4
5 changed files with 32 additions and 20 deletions

View File

@@ -1609,8 +1609,8 @@ public class DebugEditor extends JavaEditor implements ActionListener {
* at the bottom of the PDE
*/
public void updateErrorToggle(){
btnShowErrors.updateMarker(errorCheckerService.hasErrors(),
errorBar.errorColor);
btnShowErrors.updateMarker(ExperimentalMode.errorCheckEnabled
&& errorCheckerService.hasErrors(), errorBar.errorColor);
}
/**
@@ -1649,4 +1649,14 @@ public class DebugEditor extends JavaEditor implements ActionListener {
}
}
}
protected void applyPreferences() {
super.applyPreferences();
if (dmode != null) {
dmode.loadPreferences();
log("Applying prefs");
// trigger it once to refresh UI
errorCheckerService.runManualErrorCheck();
}
}
}