diff --git a/bal/gui/qt/dialogs.py b/bal/gui/qt/dialogs.py index 3196111..cf60cd7 100644 --- a/bal/gui/qt/dialogs.py +++ b/bal/gui/qt/dialogs.py @@ -1533,7 +1533,7 @@ class BalBuildWillDialog(BalDialog): "BEGIN:VCALENDAR", "VERSION:2.0", "PRODID:-//Bitcoin After Life//Electrum Plugin/" - f"{BalPlugin.__version__}", + f"{self.bal_window.bal_plugin.version}", ] total = len(offsets) diff --git a/bal/gui/qt/widgets.py b/bal/gui/qt/widgets.py index 024e54b..b998d63 100644 --- a/bal/gui/qt/widgets.py +++ b/bal/gui/qt/widgets.py @@ -1153,7 +1153,7 @@ class WillSettingsWidget(QWidget): lines = [ "BEGIN:VCALENDAR", "VERSION:2.0", - f"PRODID:-//Bitcoin After Life//Electrum Plugin/{BalPlugin.__version__}", + f"PRODID:-//Bitcoin After Life//Electrum Plugin/{self.bal_window.bal_plugin.version}", ] # One separate VEVENT per reminder offset (its own date in the calendar). @@ -1284,7 +1284,7 @@ class WillSettingsWidget(QWidget): "BEGIN:VCALENDAR", "VERSION:2.0", "PRODID:-//Bitcoin After Life//Electrum Plugin/" - f"{BalPlugin.__version__}", + f"{self.bal_window.bal_plugin.version}", ] total = len(offsets)