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:
Aydar Mukhametzyanov
2024-02-16 11:13:05 +00:00
committed by intellij-monorepo-bot
parent cb77fac598
commit f31f3f2c58
@@ -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();
}
}