Skip to content

Commit

Permalink
Unminimize Event Details Dialog on update
Browse files Browse the repository at this point in the history
Fixes #2019

When the Event Details Dialog is minimized it is brought back up when the user Double Clicks a new entry in the Error Log
  • Loading branch information
N1k145 authored and vogella committed Jul 4, 2024
1 parent f8acd2d commit 354e1b7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion bundles/org.eclipse.ui.views.log/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %name
Bundle-SymbolicName: org.eclipse.ui.views.log;singleton:=true
Bundle-Version: 1.4.400.qualifier
Bundle-Version: 1.4.500.qualifier
Bundle-Activator: org.eclipse.ui.internal.views.log.Activator
Bundle-Vendor: %provider-name
Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.29.0,4.0.0)",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
import org.eclipse.core.runtime.IAdaptable;
import org.eclipse.jface.viewers.ISelectionProvider;
import org.eclipse.swt.widgets.Control;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.ui.IMemento;
import org.eclipse.ui.actions.SelectionProviderAction;

Expand Down Expand Up @@ -88,6 +89,11 @@ public void setComparator(Comparator comparator) {
public void run() {
if (propertyDialog != null && propertyDialog.isOpen()) {
resetSelection();
Shell shell = propertyDialog.getShell();
if (shell != null && shell.getMinimized()) {
shell.setMinimized(false);
}

return;
}

Expand Down

0 comments on commit 354e1b7

Please sign in to comment.