mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-29 20:44:25 +00:00
fix active tab close
This commit is contained in:
parent
34cf0feb35
commit
d0d9b29285
@ -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…
x
Reference in New Issue
Block a user