13
0

Group-Tabs keyboard shortcuts

* The return of the ctrl+right-click (edit)
* and consistent shift+right click (remove)
This commit is contained in:
Robin Gareus 2017-02-21 00:11:38 +01:00
parent b409a27f4b
commit c56635e71c

View File

@ -144,10 +144,10 @@ GroupTabs::on_button_press_event (GdkEventButton* ev)
RouteGroup* g = t ? t->group : 0;
if (Keyboard::modifier_state_equals (ev->state, Keyboard::PrimaryModifier) && g) {
/* edit */
RouteGroupDialog d (g, false);
d.present ();
if (Keyboard::modifier_state_equals (ev->state, Keyboard::TertiaryModifier) && g) {
remove_group (g);
} else if (Keyboard::modifier_state_equals (ev->state, Keyboard::PrimaryModifier) && g) {
edit_group (g);
} else {
Menu* m = get_menu (g, true);
if (m) {