Skip to content

Commit 6ea602a

Browse files
authored
Merge pull request #345 from FXTD-ODYSSEY/patch-1
fix bug #344
2 parents c6e1567 + eeb783d commit 6ea602a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Qt.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
import json
4646

4747

48-
__version__ = "1.3.0"
48+
__version__ = "1.3.1"
4949

5050
# Enable support for `from Qt import *`
5151
__all__ = []
@@ -977,7 +977,7 @@ def createWidget(self, class_name, parent=None, name=""):
977977
parent,
978978
name)
979979
elif class_name in self.custom_widgets:
980-
widget = self.custom_widgets[class_name](parent)
980+
widget = self.custom_widgets[class_name](parent=parent)
981981
else:
982982
raise Exception("Custom widget '%s' not supported"
983983
% class_name)

0 commit comments

Comments
 (0)