mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
add active tab close accel, make disabled by default
This commit is contained in:
parent
5868ed822f
commit
ab8a8e3a64
1 changed files with 9 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue