We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3cbd50 commit e6b15a5Copy full SHA for e6b15a5
hdfview/src/main/java/hdf/view/HDFView.java
@@ -1074,8 +1074,8 @@ private void setupMacOSMenuHandlers(final Shell shell)
1074
log.debug("macOS About menu triggered");
1075
// Use asyncExec to ensure the menu is closed before opening the modal dialog
1076
display.asyncExec(() -> {
1077
- if (!mainWindow.isDisposed()) {
1078
- new AboutDialog(mainWindow).open();
+ if (!shell.isDisposed()) {
+ new AboutDialog(shell).open();
1079
}
1080
});
1081
0 commit comments