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

This commit is contained in:
michael
2012-07-17 07:41:12 -04:00
parent 108ea81b2b
commit d1453e2961
2 changed files with 5 additions and 0 deletions

View File

@@ -783,6 +783,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;