Index: sources/gui/qml/components/RectSelectCreateTreatment.qml =================================================================== diff -u -r2d09ae36f6b791e0415a87b6f14f582d4b434d7d -rfe1cc7af9637a8485b6948b50eb5fb06e4c83740 --- sources/gui/qml/components/RectSelectCreateTreatment.qml (.../RectSelectCreateTreatment.qml) (revision 2d09ae36f6b791e0415a87b6f14f582d4b434d7d) +++ sources/gui/qml/components/RectSelectCreateTreatment.qml (.../RectSelectCreateTreatment.qml) (revision fe1cc7af9637a8485b6948b50eb5fb06e4c83740) @@ -49,12 +49,6 @@ } - Text { - id: _text - text: "Title" - font.pixelSize: Fonts.fontPixelFluidText - color: Colors.textMain; - } function setActive(active) { if (!active) { for (let i = 0; i < _repeater.count; i++) { @@ -64,6 +58,13 @@ } } + Text { + id: _text + text: "Title" + font.pixelSize: Fonts.fontPixelFluidText + color: Colors.textMain; + } + GridLayout { id: _grid anchors.top: _text.bottom @@ -75,6 +76,7 @@ model: buttonNames TouchRect { id: _touchRect + objectName: _root.objectName + index text.text: modelData; selectable: true height: _root.buttonHeight