Browse Source

toggle close active tab action status on refresh

CPP-GTK4
yggverse 3 months ago
parent
commit
780fdd3004
  1. 6
      src/app/browser/main/tab.cpp

6
src/app/browser/main/tab.cpp

@ -52,6 +52,12 @@ void Tab::refresh(
tabPage->get_subtitle(), tabPage->get_subtitle(),
0 // @TODO 0 // @TODO
); );
action__tab_close_active->set_enabled(
get_n_pages() > 0
);
// @TODO toggle close all
} }
void Tab::append( void Tab::append(

Loading…
Cancel
Save