require page number argument

This commit is contained in:
yggverse 2024-08-14 07:35:19 +03:00
parent 03764ce599
commit ebd2b843a4

View File

@ -44,13 +44,15 @@ void Main::tab_append()
void Main::tab_update() void Main::tab_update()
{ {
tab->update(); tab->update(
tab->get_current_page()
);
}; };
void Main::tab_close() void Main::tab_close()
{ {
tab->close( tab->close(
tab->get_current_page() // active tab->get_current_page()
); );
}; };