diff options
Diffstat (limited to 'DockWidgets/DockWidget.py')
-rw-r--r-- | DockWidgets/DockWidget.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/DockWidgets/DockWidget.py b/DockWidgets/DockWidget.py index b3997f3..7e8a221 100644 --- a/DockWidgets/DockWidget.py +++ b/DockWidgets/DockWidget.py @@ -59,7 +59,7 @@ class DockWidget(QDockWidget,ui_dialog): print(i) if i == None: continue - l = QLineEdit(self.obj.variables[i]['value']) + l = QLineEdit(str(self.obj.variables[i]['value'])) lay = QGridLayout() lay.addWidget(QLabel(self.obj.variables[i]['name']+":"),0,0, alignment=Qt.AlignLeft) lay.addWidget(l,0,1, alignment=Qt.AlignCenter) |