Bug 567707 - Propose restart on enable/disable theming
Make sure that restart is always shown on engine enable/disable. It was
missing the case when there were changes in other settings.
Change-Id: Idcc2c8ac7dd175cca3ffb32b636cb81d19e7b5d7
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
diff --git a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/ViewsPreferencePage.java b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/ViewsPreferencePage.java
index 08454c0..33b7a30 100644
--- a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/ViewsPreferencePage.java
+++ b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/ViewsPreferencePage.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2000, 2017 IBM Corporation and others.
+ * Copyright (c) 2000, 2020 IBM Corporation and others.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
@@ -305,7 +305,8 @@
notificationPopUp.open();
}
}
- } else if (themingEnabledChanged) {
+ }
+ if (themingEnabledChanged) {
if (notificationPopUp == null) {
notificationPopUp = new NotificationPopUp(getShell().getDisplay());
notificationPopUp.open();