Fix system default name not getting set correctly after another profile, possibly fixes #78 and maybe related to #86
This commit is contained in:
parent
39f53d76ac
commit
1175780951
1 changed files with 1 additions and 0 deletions
|
@ -136,6 +136,7 @@ impl Settings {
|
||||||
self.cpus = driver.cpus;
|
self.cpus = driver.cpus;
|
||||||
self.gpu = driver.gpu;
|
self.gpu = driver.gpu;
|
||||||
self.battery = driver.battery;
|
self.battery = driver.battery;
|
||||||
|
self.general = driver.general;
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn load_file(&mut self, filename: PathBuf, name: String, system_defaults: bool) -> Result<bool, SettingError> {
|
pub fn load_file(&mut self, filename: PathBuf, name: String, system_defaults: bool) -> Result<bool, SettingError> {
|
||||||
|
|
Loading…
Reference in a new issue