Skip to content

Commit

Permalink
Fix window selected from preview not getting focus
Browse files Browse the repository at this point in the history
Fixes #1972
  • Loading branch information
Voltara authored and 3v1n0 committed Jul 2, 2024
1 parent 9270a6e commit ec21858
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion windowPreview.js
Original file line number Diff line number Diff line change
Expand Up @@ -645,8 +645,8 @@ class WindowPreviewMenuItem extends PopupMenu.PopupBaseMenuItem {
}

activate() {
this._getTopMenu().close();
Main.activateWindow(this._window);
this._getTopMenu().close();
}

_onDestroy() {
Expand Down

0 comments on commit ec21858

Please sign in to comment.