Index: sources/gui/qml/globals/Variables.qml =================================================================== diff -u -r1a8e9578b27bb3877116675d0b2361ce4f5b5539 -rac23b968f565c2beeb153ca2d554b8f868634512 --- sources/gui/qml/globals/Variables.qml (.../Variables.qml) (revision 1a8e9578b27bb3877116675d0b2361ce4f5b5539) +++ sources/gui/qml/globals/Variables.qml (.../Variables.qml) (revision ac23b968f565c2beeb153ca2d554b8f868634512) @@ -186,7 +186,17 @@ readonly property int venousLimitStep : +10; ///< PRS356,PRS357 // has to be the same since it's on the same line scale readonly property int venousLimitGap : +30; - readonly property string notSetVariableText : "__" + function notSetVariable(vVariable, vLength, vChar) { + let notSetVariableText = "_" //"‑" //"-" + if (vLength === 0 ) notSetVariableText = "" + if (vVariable) + return vVariable + else + if (vLength) + return notSetVariableText.repeat(vLength) + else + return notSetVariableText + } readonly property string preTreatmentStepLabelCreate : qsTr("CREATE" ) readonly property string preTreatmentStepLabelConfirm : qsTr("CONFIRM" )