diff options
Diffstat (limited to 'DockWidgets')
-rw-r--r-- | DockWidgets/DockWidget.py | 2 | ||||
-rw-r--r-- | DockWidgets/__pycache__/DockWidget.cpython-37.pyc | bin | 4329 -> 4338 bytes |
2 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) diff --git a/DockWidgets/__pycache__/DockWidget.cpython-37.pyc b/DockWidgets/__pycache__/DockWidget.cpython-37.pyc Binary files differindex d4cdec3..3386671 100644 --- a/DockWidgets/__pycache__/DockWidget.cpython-37.pyc +++ b/DockWidgets/__pycache__/DockWidget.cpython-37.pyc |