Skip to content

Commit

Permalink
Merge pull request #62 from ifm/develop
Browse files Browse the repository at this point in the history
Release 1.1.1
- Fix variable editors always filled with empty values instead of the previous values
  • Loading branch information
cwiede authored May 23, 2024
2 parents c66dc85 + d002588 commit 442cb50
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions nexxT/services/gui/PropertyDelegate.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@ def setEditorData(self, editor, index):
else:
editor.setText(d.property.getProperty(d.name, subst=False))
return None
if isinstance(editor, QLineEdit):
# this is happening for variables ...
editor.setText(self.model.data(index, Qt.DisplayRole))
return None
return super().setEditorData(editor, index)

def setModelData(self, editor, model, index):
Expand Down

0 comments on commit 442cb50

Please sign in to comment.