Sort out accelerators
This commit is contained in:
parent
dcc06cf8c6
commit
14dfafcb7c
@ -224,6 +224,7 @@ impl App {
|
|||||||
dialog.show(&win);
|
dialog.show(&win);
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
|
self.instance.set_accels_for_action("win.preferences", &["<primary>e"]);
|
||||||
|
|
||||||
// Create the menu action
|
// Create the menu action
|
||||||
action!(win, "menu",clone!(header => move |_, _| header.open_menu()));
|
action!(win, "menu",clone!(header => move |_, _| header.open_menu()));
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user