mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 00:55:28 +00:00
reorder methods
This commit is contained in:
parent
df8f249f1c
commit
cb537dddd2
1 changed files with 17 additions and 17 deletions
|
|
@ -107,22 +107,6 @@ void Tab::close_all()
|
|||
}
|
||||
}
|
||||
|
||||
void Tab::update(
|
||||
const int & PAGE_NUMBER
|
||||
) {
|
||||
auto pageWidget = get_nth_page(
|
||||
PAGE_NUMBER
|
||||
);
|
||||
|
||||
if (pageWidget != nullptr)
|
||||
{
|
||||
pageWidget->activate_action(
|
||||
"page.update"
|
||||
);
|
||||
}
|
||||
|
||||
} // @TODO
|
||||
|
||||
void Tab::refresh(
|
||||
const int & PAGE_NUMBER
|
||||
) {
|
||||
|
|
@ -154,4 +138,20 @@ void Tab::refresh(
|
|||
|
||||
// Refresh children widgets
|
||||
tabPage->refresh();
|
||||
}
|
||||
}
|
||||
|
||||
void Tab::update(
|
||||
const int & PAGE_NUMBER
|
||||
) {
|
||||
auto pageWidget = get_nth_page(
|
||||
PAGE_NUMBER
|
||||
);
|
||||
|
||||
if (pageWidget != nullptr)
|
||||
{
|
||||
pageWidget->activate_action(
|
||||
"page.update"
|
||||
);
|
||||
}
|
||||
|
||||
} // @TODO
|
||||
Loading…
Add table
Add a link
Reference in a new issue