bugfix + part of the new command arg system
This commit is contained in:
@@ -184,6 +184,7 @@ int sdrpp_main(int argc, char* argv[]) {
|
||||
|
||||
// Themes
|
||||
defConfig["theme"] = "Dark";
|
||||
defConfig["uiScale"] = 1.0f;
|
||||
|
||||
defConfig["modules"] = json::array();
|
||||
|
||||
@@ -279,6 +280,9 @@ int sdrpp_main(int argc, char* argv[]) {
|
||||
core::configManager.conf["moduleInstances"][_name] = newMod;
|
||||
}
|
||||
|
||||
// Load UI scaling
|
||||
style::uiScale = core::configManager.conf["uiScale"];
|
||||
|
||||
core::configManager.release(true);
|
||||
|
||||
if (options::opts.serverMode) { return server::main(); }
|
||||
|
||||
Reference in New Issue
Block a user