Adding a shortcut for saving snapshots and snapshot pane mod to be resizable (issues 1124, 1580)
This commit is contained in:
@@ -936,6 +936,15 @@ bool EditorPanel::handleShortcutKey (GdkEventKey* event) {
|
||||
}
|
||||
} //if (!ctrl)
|
||||
} //if (!alt)
|
||||
|
||||
if (alt){
|
||||
switch (event->keyval) {
|
||||
case GDK_s:
|
||||
history->addBookmarkPressed ();
|
||||
setProgressStr(M("PROGRESSBAR_SNAPSHOT_ADDED"));
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
if(tpc->getToolBar()->handleShortcutKey(event))
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user