Finish FocusScope support
When clicking on a TitleBar the focus will be redirected to either: - Last widget that had focus inside the scope - To the DockWidget. Implies the user setting a guest widget that accepts focus Fixes: #56
This commit is contained in:
committed by
Sergio Martins
parent
c9468bef8a
commit
890784ba5a
@@ -111,6 +111,9 @@ int main(int argc, char **argv)
|
||||
if (parser.isSet(noTitleBars))
|
||||
flags |= KDDockWidgets::Config::Flag_HideTitleBarWhenTabsVisible | KDDockWidgets::Config::Flag_AlwaysShowTabs;
|
||||
|
||||
if (parser.isSet(customStyle))
|
||||
flags |= KDDockWidgets::Config::Flag_TitleBarIsFocusable; // also showing title bar focus with -p, just to not introduce another switch
|
||||
|
||||
if (parser.isSet(reorderTabsOption))
|
||||
flags |= KDDockWidgets::Config::Flag_AllowReorderTabs;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user