mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-250338 Plugin theme is applied when "Sync with OS" theme is set
GitOrigin-RevId: 8aee8c1e60dc2024ae75f3ec58d35ec986c411a5
This commit is contained in:
committed by
intellij-monorepo-bot
parent
d18a84ddab
commit
6ca4a09f5d
@@ -1253,7 +1253,7 @@ public final class LafManagerImpl extends LafManager implements PersistentStateC
|
||||
updateLafComboboxModel();
|
||||
|
||||
// When updating a theme plugin that doesn't provide the current theme, don't select any of its themes as current
|
||||
if (!myUpdatingPlugin || newTheme.getTheme().getId().equals(myThemeIdBeforePluginUpdate)) {
|
||||
if (!autodetect && (!myUpdatingPlugin || newTheme.getTheme().getId().equals(myThemeIdBeforePluginUpdate))) {
|
||||
setLookAndFeelImpl(newTheme, false, false);
|
||||
JBColor.setDark(newTheme.getTheme().isDark());
|
||||
updateUI();
|
||||
|
||||
Reference in New Issue
Block a user