void (@NotNull AnActionEvent e) { UIThemeLookAndFeelInfo feel = LafManager.getInstance().getCurrentUIThemeLookAndFeel(); EditorColorsScheme scheme = EditorColorsManager.getInstance().getGlobalScheme(); e.getPresentation().setEnabled(feel instanceof TempUIThemeLookAndFeelInfo || EditorColorsManagerImpl.Companion.isTempScheme(scheme)); }