Browse Source

add active tab close accel, make disabled by default

CPP-GTK4
yggverse 3 months ago
parent
commit
ab8a8e3a64
  1. 9
      src/app/browser.cpp

9
src/app/browser.cpp

@ -59,6 +59,15 @@ Browser::Browser(
} }
); );
ACTION__MAIN_TAB_CLOSE_ACTIVE->set_enabled(
false
);
APP->set_accel_for_action(
"win.main_tab_close_active",
"<Primary>Escape"
);
add_action( add_action(
"main_tab_close_left", "main_tab_close_left",
[this] [this]

Loading…
Cancel
Save