reorder methods

This commit is contained in:
yggverse 2024-08-27 15:14:48 +03:00
parent df8f249f1c
commit cb537dddd2

View File

@ -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( void Tab::refresh(
const int & PAGE_NUMBER const int & PAGE_NUMBER
) { ) {
@ -155,3 +139,19 @@ void Tab::refresh(
// Refresh children widgets // Refresh children widgets
tabPage->refresh(); 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