mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 00:55:28 +00:00
toggle close active tab action status on refresh
This commit is contained in:
parent
ab8a8e3a64
commit
780fdd3004
1 changed files with 6 additions and 0 deletions
|
|
@ -52,6 +52,12 @@ void Tab::refresh(
|
|||
tabPage->get_subtitle(),
|
||||
0 // @TODO
|
||||
);
|
||||
|
||||
action__tab_close_active->set_enabled(
|
||||
get_n_pages() > 0
|
||||
);
|
||||
|
||||
// @TODO toggle close all
|
||||
}
|
||||
|
||||
void Tab::append(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue