Skip to content

Commit

Permalink
Fix activation of shells before selection #59
Browse files Browse the repository at this point in the history
  • Loading branch information
basilevs committed Mar 26, 2024
1 parent ca3ff68 commit 504bbf3
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -1517,7 +1517,7 @@ public boolean activateViewEditor(final SWTUIElement element,
if (SKIP_ACTIVATION_FOR_SHELLS.contains(getShellCreationMethodName(shell))) {
return true;
}
Shell activeShell = TeslaEventManager.getActiveShell();
Shell activeShell = shell.getDisplay().getActiveShell();
if (activeShell != shell) {
Q7WaitUtils.updateInfo("shell.activate",
shell.getClass().getName(), info);
Expand Down

0 comments on commit 504bbf3

Please sign in to comment.