[fix:] inconsistency with config.json

This commit is contained in:
2026-05-18 11:36:59 +02:00
parent bf28ba1914
commit 67d007bb31
3 changed files with 17 additions and 14 deletions
+2 -2
View File
@@ -401,8 +401,8 @@ public partial class MainWindow : Window
if (folder == null || folder.Count == 0) return;
var chosen = folder[0].Path;
TbConfigPath.Text = chosen.ToString();
Global._instance.config_path = chosen.ToString();
Global._instance.SetConfigPath(chosen.ToString());
TbConfigPath.Text = Global._instance.config_path;
Global.Save();
MessageBox.Show(this, "Bitte starten Sie das Programm neu, um die Änderungen wirksam zu machen.", "Achtung");