mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
fix active tab close
This commit is contained in:
parent
34cf0feb35
commit
d0d9b29285
2 changed files with 2 additions and 2 deletions
|
|
@ -45,7 +45,7 @@ void Main::tab_append()
|
|||
void Main::tab_close()
|
||||
{
|
||||
tab->close(
|
||||
-1 // active
|
||||
tab->get_current_page() // active
|
||||
);
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -64,7 +64,7 @@ void Tab::close_all()
|
|||
while (0 <= get_current_page())
|
||||
{
|
||||
close(
|
||||
-1 // active
|
||||
-1 // last
|
||||
);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue