Skip to content

Commit

Permalink
QML: Add support for setting CO values in DeveloperToolsWindow
Browse files Browse the repository at this point in the history
  • Loading branch information
Holzhaus committed Dec 15, 2021
1 parent 82fd365 commit 8614c5d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions res/qml/DeveloperToolsWindow.qml
Original file line number Diff line number Diff line change
Expand Up @@ -130,12 +130,14 @@ Window {
color: root.color

TextField {
// TODO: Make editing work

id: valueField

anchors.fill: parent
text: display
onEditingFinished: {
const idx = controlModel.index(row, column);
controlModel.setData(idx, parseFloat(text));
}

validator: DoubleValidator {
}
Expand Down

0 comments on commit 8614c5d

Please sign in to comment.