From 58ee9538497647869f215bf463d0c8a4c0dd99c3 Mon Sep 17 00:00:00 2001 From: Janis Date: Wed, 13 Sep 2023 13:18:15 +0300 Subject: [PATCH] Fix opening collections with password --- OpenNumismat/Collection/Collection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenNumismat/Collection/Collection.py b/OpenNumismat/Collection/Collection.py index a1005e18..775e0a99 100644 --- a/OpenNumismat/Collection/Collection.py +++ b/OpenNumismat/Collection/Collection.py @@ -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: