changeset 24773:b96c76aed31e

* webinfo.cc (close_tab): set focus to current tab after a tab was closed
author Torsten <mttl@mailbox.org>
date Fri, 16 Feb 2018 19:16:55 +0100
parents 860860e2e69e
children 90bd5649983c
files libgui/src/qtinfo/webinfo.cc
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libgui/src/qtinfo/webinfo.cc	Fri Feb 16 19:16:51 2018 +0100
+++ b/libgui/src/qtinfo/webinfo.cc	Fri Feb 16 19:16:55 2018 +0100
@@ -288,6 +288,8 @@
       }
 
     tab_state_changed ();
+
+    setFocus ();
   }
 
   void webinfo::load_ref (const QString& ref_name)