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()},
|
auto form = new FormWindow(&body, rect_t{0, 0, body.width(), body.height()},
|
||||||
FORM_FORWARD_FOCUS);
|
FORM_FORWARD_FOCUS);
|
||||||
tab->build(form);
|
tab->build(form);
|
||||||
|
form->setFocus();
|
||||||
if (!focusWindow) setFocus(SET_FOCUS_DEFAULT);
|
|
||||||
|
|
||||||
header.setTitle(tab->title.c_str());
|
header.setTitle(tab->title.c_str());
|
||||||
invalidate();
|
invalidate();
|
||||||
|
|||||||
Vendored
+1
-1
Submodule radio/src/thirdparty/libopenui updated: cfc9dbff18...7dffc2233e
Reference in New Issue
Block a user