Skip to content

Commit

Permalink
Merge pull request #1366 from ashitsalesforce/master
Browse files Browse the repository at this point in the history
make sure that menubar is displayed after upgrade dialog is closed
  • Loading branch information
ashitsalesforce authored Oct 29, 2024
2 parents 884634f + d83f828 commit 6cf0a84
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/java/com/salesforce/dataloader/ui/LoaderWindow.java
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ public void run() {
displayUpgradeDialog(Display.getDefault());
}
setBlockOnOpen(true);
addMenuBar();
open();

Display currentDisplay = Display.getCurrent();
Expand Down Expand Up @@ -272,7 +273,6 @@ public void run() {
for (Entry<Integer, OperationUIAction> ent : map.entrySet()) {
if (result == ent.getKey()) ent.getValue().run();
}
addMenuBar();
}
});
}
Expand All @@ -286,7 +286,6 @@ private void displayUpgradeDialog(final Display display) {
public void run() {
LoaderUpgradeDialog dlg = new LoaderUpgradeDialog(display.getActiveShell(), controller);
dlg.open();
addMenuBar();
}
});
}
Expand Down

0 comments on commit 6cf0a84

Please sign in to comment.