refresh todo configuration on color scheme change

This commit is contained in:
Alexey Kudravtsev
2013-09-17 13:19:26 +04:00
parent 02bfaee296
commit ed104a426f
@@ -292,6 +292,7 @@ public class DaemonListeners implements Disposable {
inspectionProfileManager.addProfileChangeListener(new MyProfileChangeListener(), this);
inspectionProjectProfileManager.addProfilesListener(new MyProfileChangeListener(), this);
todoConfiguration.addPropertyChangeListener(new MyTodoListener(), this);
todoConfiguration.colorSettingsChanged();
actionManagerEx.addAnActionListener(new MyAnActionListener(), this);
virtualFileManager.addVirtualFileListener(new VirtualFileAdapter() {
@Override
@@ -474,6 +475,7 @@ public class DaemonListeners implements Disposable {
private class MyEditorColorsListener implements EditorColorsListener {
@Override
public void globalSchemeChange(EditorColorsScheme scheme) {
TodoConfiguration.getInstance().colorSettingsChanged();
stopDaemonAndRestartAllFiles();
}
}