fix: tabs group focus issues
This commit is contained in:
committed by
Raphael Coeffic
parent
10d200ef43
commit
84a45af2b2
@@ -198,8 +198,7 @@ void TabsGroup::setVisibleTab(PageTab* tab)
|
||||
auto form = new FormWindow(&body, rect_t{0, 0, body.width(), body.height()},
|
||||
FORM_FORWARD_FOCUS);
|
||||
tab->build(form);
|
||||
|
||||
if (!focusWindow) setFocus(SET_FOCUS_DEFAULT);
|
||||
form->setFocus();
|
||||
|
||||
header.setTitle(tab->title.c_str());
|
||||
invalidate();
|
||||
|
||||
Vendored
+1
-1
Submodule radio/src/thirdparty/libopenui updated: cfc9dbff18...7dffc2233e
Reference in New Issue
Block a user