Index: sources/gui/qml/components/GridSelection.qml =================================================================== diff -u -r2dd4e9c952d65e68f1c81a1cfc13d1f96b0d7d43 -r656c8ece0af7d784f545535ee1ccf9bb0e43cd63 --- sources/gui/qml/components/GridSelection.qml (.../GridSelection.qml) (revision 2dd4e9c952d65e68f1c81a1cfc13d1f96b0d7d43) +++ sources/gui/qml/components/GridSelection.qml (.../GridSelection.qml) (revision 656c8ece0af7d784f545535ee1ccf9bb0e43cd63) @@ -49,6 +49,11 @@ signal clicked(int vIndex) + function reset() { + _root.curIndex = -1 + _root.active = false + } + Text { id : _title text : "" color : _root.valid ? Colors.textMain : Colors.createTreatmentInvalidParam @@ -72,10 +77,7 @@ height : _root.optionHeight width : _root.optionWidth radius : Variables.dialogRadius - Binding on selected { - when : _root.curIndex > -1 - value : index === _root.curIndex - } + selected : _root.curIndex > -1 ? index === _root.curIndex : false onClicked: { _root.curIndex = index _root.clicked ( index )