Skip to content

Commit

Permalink
Fix opening collections with password
Browse files Browse the repository at this point in the history
  • Loading branch information
JanisV committed Sep 13, 2023
1 parent 5bc3b65 commit 58ee953
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OpenNumismat/Collection/Collection.py
Original file line number Diff line number Diff line change
Expand Up @@ -888,7 +888,7 @@ def open(self, fileName):

if self.settings['Password'] != cryptPassword():
dialog = PasswordDialog(
self.settings['Password'], self.getCollectionName(),
self.settings['Password'], self.fileNameToCollectionName(fileName),
self.parent())
result = dialog.exec_()
if result == QDialog.Rejected:
Expand Down

0 comments on commit 58ee953

Please sign in to comment.