Skip to content

Commit 0cf52a1

Browse files
committed
Fix mistake in interpolation dialog's layout definition
1 parent f1960eb commit 0cf52a1

File tree

1 file changed

+37
-37
lines changed

1 file changed

+37
-37
lines changed

src/view/qml/Dialogs/InterpolationDialog.qml

Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -75,44 +75,44 @@ Dialog {
7575
Layout.row: 0
7676
Layout.fillWidth: true
7777
}
78-
}
79-
Label {
80-
text: qsTr("Start line:")
81-
width: parent.width
82-
Layout.column: 0
83-
Layout.row: 1
84-
}
85-
SpinBox {
86-
id: startLineSpinBox
87-
width: parent.width * 0.3
88-
from: 0
89-
to: endLineSpinBox.value
90-
value: 0
91-
editable: true
92-
Keys.onReturnPressed: {
93-
focus = false;
78+
Label {
79+
text: qsTr("Start line:")
80+
width: parent.width
81+
Layout.column: 0
82+
Layout.row: 1
9483
}
95-
Layout.column: 1
96-
Layout.row: 1
97-
Layout.fillWidth: true
98-
}
99-
Label {
100-
text: qsTr("End line:")
101-
Layout.column: 2
102-
Layout.row: 1
103-
}
104-
SpinBox {
105-
id: endLineSpinBox
106-
width: parent.width * 0.3
107-
from: startLineSpinBox.value + 1
108-
to: 999
109-
value: 0
110-
editable: true
111-
Keys.onReturnPressed: {
112-
focus = false;
84+
SpinBox {
85+
id: startLineSpinBox
86+
width: parent.width * 0.3
87+
from: 0
88+
to: endLineSpinBox.value
89+
value: 0
90+
editable: true
91+
Keys.onReturnPressed: {
92+
focus = false;
93+
}
94+
Layout.column: 1
95+
Layout.row: 1
96+
Layout.fillWidth: true
97+
}
98+
Label {
99+
text: qsTr("End line:")
100+
Layout.column: 2
101+
Layout.row: 1
102+
}
103+
SpinBox {
104+
id: endLineSpinBox
105+
width: parent.width * 0.3
106+
from: startLineSpinBox.value + 1
107+
to: 999
108+
value: 0
109+
editable: true
110+
Keys.onReturnPressed: {
111+
focus = false;
112+
}
113+
Layout.column: 3
114+
Layout.row: 1
115+
Layout.fillWidth: true
113116
}
114-
Layout.column: 3
115-
Layout.row: 1
116-
Layout.fillWidth: true
117117
}
118118
}

0 commit comments

Comments
 (0)