Browse Source

Simplify tab change focus logic.

pull/3202/head
TheGoddessInari 5 years ago
parent
commit
e66b7445f3
No known key found for this signature in database
GPG Key ID: 1209B1B7632D69A
  1. 3
      app/view/main/MainController.js

3
app/view/main/MainController.js

@ -40,8 +40,7 @@ Ext.define('Hamsket.view.main.MainController', {
return;
}
const webview = newTab.getWebView();
if ( webview ) webview.focus();
newTab.focus();
// Update the main window so it includes the active tab title.
if ( Hamsket.app.getTotalNotifications() > 0 ) {

Loading…
Cancel
Save