Skip to content

Commit

Permalink
removed erroneous print statement
Browse files Browse the repository at this point in the history
  • Loading branch information
alexhroom committed Nov 4, 2024
1 parent d73a9df commit d371271
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions rascal2/widgets/delegates.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,8 @@ def createEditor(self, parent, option, index):

def setEditorData(self, editor: AdaptiveDoubleSpinBox, index):
data = index.data(QtCore.Qt.ItemDataRole.DisplayRole)

editor.setValue(data)

def setModelData(self, editor, model, index):
data = editor.value()
print(data)
model.setData(index, data, QtCore.Qt.ItemDataRole.EditRole)

0 comments on commit d371271

Please sign in to comment.