From 8f2b965797b695e31ca76d51d5b8a2297feeb5c2 Mon Sep 17 00:00:00 2001 From: Eric Werner Date: Wed, 25 Jan 2023 20:03:42 +0100 Subject: [PATCH] Calling the Version bump dialog was broken --- ui/a2ui/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ui/a2ui/__init__.py b/ui/a2ui/__init__.py index ba8dbafe..23e76c01 100644 --- a/ui/a2ui/__init__.py +++ b/ui/a2ui/__init__.py @@ -3,6 +3,7 @@ """ import os import time +from functools import partial import a2uic import a2dev @@ -156,7 +157,7 @@ def _make_url_action(action: QtGui.QAction, url: str, icon: QtGui.QIcon): self.ui.actionCreate_New_Element.triggered.connect(self.create_new_element) self.ui.actionCreate_New_Element.setIcon(Icons.folder_add) self.ui.actionBuild_A2_Package.triggered.connect(a2dev.build_package) - self.ui.actionSet_a2_Version.triggered.connect(a2dev.call_version_bump_dialog) + self.ui.actionSet_a2_Version.triggered.connect(partial(a2dev.call_version_bump_dialog, self)) self.ui.actionUnload_a2_Runtime.triggered.connect(self.shut_down_runtime) self.ui.actionUnload_a2_Runtime.setIcon(Icons.a2x)