mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 09:05:27 +00:00
update actions
This commit is contained in:
parent
5065dd23d6
commit
d63ba8f1ad
11 changed files with 97 additions and 127 deletions
|
|
@ -124,21 +124,12 @@ void Tab::refresh(
|
|||
);
|
||||
}
|
||||
|
||||
void Tab::update(
|
||||
void Tab::page_update(
|
||||
const int & PAGE_NUMBER
|
||||
) {
|
||||
auto pageWidget = get_nth_page(
|
||||
get_tabPage(
|
||||
PAGE_NUMBER
|
||||
);
|
||||
|
||||
if (pageWidget == nullptr)
|
||||
{
|
||||
throw _("Tab page not found!");
|
||||
}
|
||||
|
||||
pageWidget->activate_action(
|
||||
"page.update"
|
||||
);
|
||||
)->update();
|
||||
}
|
||||
|
||||
// Private helpers
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue