From 47e69ed43863b65d7f49b30f4f5cffd9fa58be19 Mon Sep 17 00:00:00 2001 From: Tim <40897360+FXTD-ODYSSEY@users.noreply.github.com> Date: Sun, 2 Aug 2020 09:45:56 +0800 Subject: [PATCH 1/2] fix bug #344 fix ui file using custom widget bug https://github.com/mottosso/Qt.py/issues/344 --- Qt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Qt.py b/Qt.py index 4f4cb579..b31972e6 100644 --- a/Qt.py +++ b/Qt.py @@ -971,7 +971,7 @@ def createWidget(self, class_name, parent=None, name=""): parent, name) elif class_name in self.custom_widgets: - widget = self.custom_widgets[class_name](parent) + widget = self.custom_widgets[class_name](parent=parent) else: raise Exception("Custom widget '%s' not supported" % class_name) From 59fc898b8460e498587b0c1dcbcbc7f95b36d78b Mon Sep 17 00:00:00 2001 From: Marcus Ottosson Date: Sun, 20 Sep 2020 14:51:57 +0100 Subject: [PATCH 2/2] Increment version --- Qt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Qt.py b/Qt.py index b31972e6..89b7e33c 100644 --- a/Qt.py +++ b/Qt.py @@ -45,7 +45,7 @@ import json -__version__ = "1.2.6" +__version__ = "1.3.1" # Enable support for `from Qt import *` __all__ = []