Shortcut (Ctrl-Shift-S) for saving processing profile in editor (Issue 1170)

This commit is contained in:
michael 2012-07-17 07:45:23 -04:00
parent 339e48fa3d
commit 80b726a6f4
2 changed files with 5 additions and 0 deletions

View File

@ -784,6 +784,7 @@ PROGRESSBAR_LOADJPEG;Loading JPEG file...
PROGRESSBAR_LOADPNG;Loading PNG file...
PROGRESSBAR_LOADTIFF;Loading TIFF file...
PROGRESSBAR_PROCESSING;Processing Image...
PROGRESSBAR_PROCESSING_PROFILESAVED;Processing Profile Saved
PROGRESSBAR_READY;Ready.
PROGRESSBAR_SAVEJPEG;Saving JPEG file...
PROGRESSBAR_SAVEPNG;Saving PNG file...

View File

@ -889,6 +889,10 @@ bool EditorPanel::handleShortcutKey (GdkEventKey* event) {
else {
// With control
switch (event->keyval) {
case GDK_S:
saveProfile();
setProgressStr(M("PROGRESSBAR_PROCESSING_PROFILESAVED"));
return true;
case GDK_s:
saveAsPressed();
return true;