hotkeys: (HACK) don't set a shortcut for the screenshot hotkey
This should make it work again as intended (I have no idea why) I wasn't able to find the root of the problem, but it's most probably somewhere in hotkey_registry I'll probably have to rebase, btw
This commit is contained in:
@@ -684,8 +684,12 @@ void GMainWindow::InitializeHotkeys() {
|
||||
ui.action_Show_Status_Bar->setShortcutContext(
|
||||
hotkey_registry.GetShortcutContext(main_window, toggle_status_bar));
|
||||
|
||||
// This is a hack which should be removed if and when a
|
||||
// proper solution is found
|
||||
/*
|
||||
ui.action_Capture_Screenshot->setShortcut(
|
||||
hotkey_registry.GetKeySequence(main_window, capture_screenshot));
|
||||
*/
|
||||
ui.action_Capture_Screenshot->setShortcutContext(
|
||||
hotkey_registry.GetShortcutContext(main_window, capture_screenshot));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user