Fix "Large Screen" dialog not properly updating scale in powder.pref, causing scale to reset back to 1 on the next launch

This commit is contained in:
jacob1
2024-06-01 00:36:51 -04:00
parent 27e6fad80e
commit 175d8e1b28

View File

@@ -457,7 +457,7 @@ int Main(int argc, char *argv[])
if (engine.windowFrameOps.scale != guessed)
{
engine.windowFrameOps.scale = guessed;
prefs.Set("Scale", windowFrameOps.scale);
prefs.Set("Scale", guessed);
showLargeScreenDialog = true;
}
}