fix active tab close

This commit is contained in:
yggverse 2024-08-13 16:22:16 +03:00
parent 34cf0feb35
commit d0d9b29285
2 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@ void Main::tab_append()
void Main::tab_close()
{
tab->close(
-1 // active
tab->get_current_page() // active
);
};

View File

@ -64,7 +64,7 @@ void Tab::close_all()
while (0 <= get_current_page())
{
close(
-1 // active
-1 // last
);
}
}