add active tab close accel, make disabled by default

This commit is contained in:
yggverse 2024-09-08 18:08:54 +03:00
parent 5868ed822f
commit ab8a8e3a64

View File

@ -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(
"main_tab_close_left",
[this]