mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 01:25:27 +00:00
require page number argument
This commit is contained in:
parent
03764ce599
commit
ebd2b843a4
1 changed files with 4 additions and 2 deletions
|
|
@ -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()
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue