Commit 1452f412 authored by Pierre-Antoine Rouby's avatar Pierre-Antoine Rouby
Browse files

Config: Fix configuration save whene click cancel.

No related merge requests found
Pipeline #54898 passed with stages
in 3 minutes and 39 seconds
Showing with 2 additions and 1 deletion
+2 -1
...@@ -191,6 +191,8 @@ class ConfigureWindow(PamhyrDialog): ...@@ -191,6 +191,8 @@ class ConfigureWindow(PamhyrDialog):
)[self.get_combobox_text("comboBox_language")] )[self.get_combobox_text("comboBox_language")]
self._propagate_update(key=Modules.CONFIG) self._propagate_update(key=Modules.CONFIG)
self._config.save()
self.end() self.end()
def reject(self): def reject(self):
...@@ -198,7 +200,6 @@ class ConfigureWindow(PamhyrDialog): ...@@ -198,7 +200,6 @@ class ConfigureWindow(PamhyrDialog):
self.end() self.end()
def end(self): def end(self):
self._config.save()
self.close() self.close()
# Debug # Debug
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment