diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-09-06 22:45:15 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-09-06 22:45:15 +0300 |
commit | a364d9456dfdfd8181904fca6308e9c36eefd10a (patch) | |
tree | f355ded227cf52053784b991f5d8441a5502e447 /src/ui/util.c | |
parent | 52a1652536e4e27751ac121009f85113e72afe7d (diff) |
LookupWidget: Keyboard focus and cursor
Diffstat (limited to 'src/ui/util.c')
-rw-r--r-- | src/ui/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/util.c b/src/ui/util.c index 50aabf88..7ca065b1 100644 --- a/src/ui/util.c +++ b/src/ui/util.c | |||
@@ -459,7 +459,7 @@ size_t tabPageIndex_Widget(const iWidget *tabs, const iAnyObject *page) { | |||
459 | const iWidget *currentTabPage_Widget(const iWidget *tabs) { | 459 | const iWidget *currentTabPage_Widget(const iWidget *tabs) { |
460 | iWidget *pages = findChild_Widget(tabs, "tabs.pages"); | 460 | iWidget *pages = findChild_Widget(tabs, "tabs.pages"); |
461 | iConstForEach(ObjectList, i, pages->children) { | 461 | iConstForEach(ObjectList, i, pages->children) { |
462 | if (isVisible_Widget(constAs_Widget(i.object))) { | 462 | if (isVisible_Widget(i.object)) { |
463 | return constAs_Widget(i.object); | 463 | return constAs_Widget(i.object); |
464 | } | 464 | } |
465 | } | 465 | } |