Skip to content

Commit 93048ed

Browse files
authored
fix Swap Screen Emphasis" hotkey bug (#2544)
1 parent c35204f commit 93048ed

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/frontend/qt_sdl/Window.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2238,6 +2238,11 @@ void MainWindow::onScreenEmphasisToggled()
22382238
{
22392239
currentSizing = screenSizing_EmphTop;
22402240
}
2241+
else
2242+
{
2243+
// For any other sizing mode, switch to EmphTop as a sensible default
2244+
currentSizing = screenSizing_EmphTop;
2245+
}
22412246
windowCfg.SetInt("ScreenSizing", currentSizing);
22422247

22432248
emit screenLayoutChange();

0 commit comments

Comments
 (0)