diff --git a/app/ux/WebView.js b/app/ux/WebView.js index 9e17a59f..50f2908d 100644 --- a/app/ux/WebView.js +++ b/app/ux/WebView.js @@ -551,7 +551,9 @@ Ext.define('Rambox.ux.WebView',{ } function showWindowAndActivateTab(event) { - require('electron').remote.getCurrentWindow().show(); + const currentWindow = require('electron').remote.getCurrentWindow(); + currentWindow.show(); + currentWindow.focus(); const tabPanel = Ext.cq1('app-main'); tabPanel.getActiveTab().blur(); tabPanel.setActiveTab(me);