update actions

This commit is contained in:
yggverse 2024-09-05 16:40:41 +03:00
parent 5065dd23d6
commit d63ba8f1ad
11 changed files with 97 additions and 127 deletions

View file

@ -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