Sort out accelerators

This commit is contained in:
Zander Brown 2018-07-21 18:54:10 +01:00 committed by Jordan Petridis
parent dcc06cf8c6
commit 14dfafcb7c
No known key found for this signature in database
GPG Key ID: CEABAD9F5683B9A6

View File

@ -224,6 +224,7 @@ impl App {
dialog.show(&win);
})
);
self.instance.set_accels_for_action("win.preferences", &["<primary>e"]);
// Create the menu action
action!(win, "menu",clone!(header => move |_, _| header.open_menu()));