Fix system default name not getting set correctly after another profile, possibly fixes #78 and maybe related to #86

This commit is contained in:
NGnius (Graham) 2023-03-24 00:03:16 -04:00
parent 39f53d76ac
commit 1175780951

View file

@ -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<bool, SettingError> {