Sort out accelerators

This commit is contained in:
Zander Brown
2018-07-24 05:05:34 +03:00
committed by Jordan Petridis
parent dcc06cf8c6
commit 14dfafcb7c
+1
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()));