Adding a shortcut for saving snapshots and snapshot pane mod to be resizable (issues 1124, 1580)

This commit is contained in:
michael
2012-11-13 07:23:22 -05:00
parent a49d285ec9
commit e604e89273
4 changed files with 25 additions and 6 deletions

View File

@@ -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;