Qt UI: fix of last widget closing in multitabbar mode
(fix after 41b9defe6b46df447249989dcff5329fde581baa)