Skip to content

Commit

Permalink
Merge pull request #737 from UrtsiSantsi/overwrite_existing_fix
Browse files Browse the repository at this point in the history
By default don't overwrite existing accounts
  • Loading branch information
nlogozzo authored Nov 15, 2023
2 parents 1113080 + f8516d2 commit 7d27242
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions NickvisionMoney.GNOME/Views/NewAccountDialog.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public NewAccountDialogController(IEnumerable<string> openAccountPaths)
Metadata = new AccountMetadata("", AccountType.Checking);
Password = null;
Folder = "";
OverwriteExisting = true;
OverwriteExisting = false;
ImportFile = "";
}

Expand Down
Empty file modified flatpak/build.sh
100644 → 100755
Empty file.

0 comments on commit 7d27242

Please sign in to comment.