mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-346361 Disable Editor Color Scheme option in the Switch popup if Sync Theme with OS is turned on
GitOrigin-RevId: d2e1bf460a53073d3d67f3b0cd69edfcfb9b622d
This commit is contained in:
committed by
intellij-monorepo-bot
parent
cb77fac598
commit
f31f3f2c58
+1
-1
@@ -137,6 +137,6 @@ public final class QuickChangeColorSchemeAction extends QuickSwitchSchemeAction
|
||||
|
||||
@Override
|
||||
protected boolean isEnabled() {
|
||||
return EditorColorsManager.getInstance().getAllSchemes().length > 1;
|
||||
return EditorColorsManager.getInstance().getAllSchemes().length > 1 && !LafManager.getInstance().getAutodetect();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user