diff --git a/NickvisionMoney.GNOME/Views/NewAccountDialog.cs b/NickvisionMoney.GNOME/Views/NewAccountDialog.cs index 3c70a7a0f..81de2d385 100644 --- a/NickvisionMoney.GNOME/Views/NewAccountDialog.cs +++ b/NickvisionMoney.GNOME/Views/NewAccountDialog.cs @@ -90,6 +90,7 @@ private NewAccountDialog(Gtk.Builder builder, NewAccountDialogController control _accountPasswordStrengthBar.AddOffsetValue("strong", 4); _accountPasswordStrengthBar.AddOffsetValue("verystrong", 5); _selectFolderButton.OnClicked += SelectFolder; + _overwriteRow.SetActive(_controller.OverwriteExisting); _overwriteRow.OnNotify += (sender, e) => { if (e.Pspec.GetName() == "active") diff --git a/NickvisionMoney.Shared/Controllers/NewAccountDialogController.cs b/NickvisionMoney.Shared/Controllers/NewAccountDialogController.cs index 8ba2fff41..f1fdd6b85 100644 --- a/NickvisionMoney.Shared/Controllers/NewAccountDialogController.cs +++ b/NickvisionMoney.Shared/Controllers/NewAccountDialogController.cs @@ -85,7 +85,7 @@ public NewAccountDialogController(IEnumerable openAccountPaths) Metadata = new AccountMetadata("", AccountType.Checking); Password = null; Folder = ""; - OverwriteExisting = true; + OverwriteExisting = false; ImportFile = ""; } diff --git a/flatpak/build.sh b/flatpak/build.sh old mode 100644 new mode 100755