From 1175780951a941d8bc2688bda8d8f81e86c3a882 Mon Sep 17 00:00:00 2001 From: "NGnius (Graham)" Date: Fri, 24 Mar 2023 00:03:16 -0400 Subject: [PATCH] Fix system default name not getting set correctly after another profile, possibly fixes #78 and maybe related to #86 --- backend/src/settings/general.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/src/settings/general.rs b/backend/src/settings/general.rs index f88a05d..159c6b6 100644 --- a/backend/src/settings/general.rs +++ b/backend/src/settings/general.rs @@ -136,6 +136,7 @@ impl Settings { self.cpus = driver.cpus; self.gpu = driver.gpu; self.battery = driver.battery; + self.general = driver.general; } pub fn load_file(&mut self, filename: PathBuf, name: String, system_defaults: bool) -> Result {