Skip to content

Commit

Permalink
By default don't overwrite existing accounts
Browse files Browse the repository at this point in the history
  • Loading branch information
UrtsiSantsi committed Nov 15, 2023
1 parent 1113080 commit f8516d2
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 f8516d2

Please sign in to comment.