Skip to content

Commit

Permalink
Merge pull request #345 from FXTD-ODYSSEY/patch-1
Browse files Browse the repository at this point in the history
fix bug #344
  • Loading branch information
mottosso authored Sep 20, 2020
2 parents c6e1567 + eeb783d commit 6ea602a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Qt.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
import json


__version__ = "1.3.0"
__version__ = "1.3.1"

# Enable support for `from Qt import *`
__all__ = []
Expand Down Expand Up @@ -977,7 +977,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)
Expand Down

0 comments on commit 6ea602a

Please sign in to comment.