diff --git a/app/bg/ui/subwindows/tab-switcher.js b/app/bg/ui/subwindows/tab-switcher.js index c72a44b1a9..d795795fa9 100644 --- a/app/bg/ui/subwindows/tab-switcher.js +++ b/app/bg/ui/subwindows/tab-switcher.js @@ -105,7 +105,9 @@ export async function hide (parentWindow) { `) if (selectedTab && typeof selectedTab === 'object') { let win = BrowserWindow.fromId(selectedTab.winId) - win.show() + if (!win.isFocused()) { + win.focus() + } tabManager.setActive(win, selectedTab.tabIndex) } parentWindow.removeBrowserView(view)