@@ -1459,8 +1459,8 @@ wWinMain ( _In_ HINSTANCE hInstance,
14591459 hotkeyCtrlF = false , // Toggle Fullscreen Mode
14601460 hotkeyCtrlV = false , // Paste data through the clipboard
14611461 hotkeyCtrlN = false , // Minimize app
1462- hotkeyCtrlS = false , // Viewer: Save Current Image (in same Dynamic Range), Snipping Mode: Toggle save to Disk
1463- hotkeyCtrlX = false ,
1462+ hotkeyCtrlS = false , // Viewer: Save Current Image (in same Dynamic Range), Snipping Mode: Toggle save to Disk, Settings: Save Screenshots Pattern
1463+ hotkeyCtrlX = false , // Export Current Image (HDR -> SDR)
14641464 hotkeyCtrlB = false , // Encoder Config
14651465 hotkeyCtrlE = false ; // Snipping Mode: Toggle browse to folder
14661466
@@ -1976,31 +1976,16 @@ wWinMain ( _In_ HINSTANCE hInstance,
19761976 SKIF_Tab_ChangeTo = UITab_About;
19771977 }
19781978
1979- if (allowShortcutCtrlA && (hotkeyCtrlA || hotkeyCtrlO) )
1979+ if (SKIF_Tab_Selected == UITab_Viewer && allowShortcutCtrlA )
19801980 {
1981- if (SKIF_Tab_Selected != UITab_Viewer)
1982- SKIF_Tab_ChangeTo = UITab_Viewer;
1983-
1984- OpenFileDialog = PopupState_Open;
1985- }
1986-
1987- if (allowShortcutCtrlA && (hotkeyCtrlX || hotkeyCtrlS))
1988- {
1989- if (SKIF_Tab_Selected != UITab_Viewer)
1990- SKIF_Tab_ChangeTo = UITab_Viewer;
1991-
1981+ if (hotkeyCtrlA || hotkeyCtrlO)
1982+ OpenFileDialog = PopupState_Open;
19921983 if (hotkeyCtrlX)
19931984 ExportSDRDialog = PopupState_Open;
19941985 if (hotkeyCtrlS)
19951986 SaveFileDialog = PopupState_Open;
1996- }
1997-
1998- if (allowShortcutCtrlA && hotkeyCtrlB)
1999- {
2000- if (SKIF_Tab_Selected != UITab_Viewer)
2001- SKIF_Tab_ChangeTo = UITab_Viewer;
2002-
2003- ConfigEncoders = PopupState_Open;
1987+ if (hotkeyCtrlB)
1988+ ConfigEncoders = PopupState_Open;
20041989 }
20051990 }
20061991
0 commit comments