Index: sources/gui/qml/pages/TreatmentFlowBase.qml =================================================================== diff -u -r86e9dfbff50cb7e16fd94c16c1c818cef3b47eac -r6f2622be80fcaee8d71baf78404627381157970c --- sources/gui/qml/pages/TreatmentFlowBase.qml (.../TreatmentFlowBase.qml) (revision 86e9dfbff50cb7e16fd94c16c1c818cef3b47eac) +++ sources/gui/qml/pages/TreatmentFlowBase.qml (.../TreatmentFlowBase.qml) (revision 6f2622be80fcaee8d71baf78404627381157970c) @@ -169,20 +169,18 @@ } Connections { target: vSettings - onSettingsChanged : { + onInstructionsChanged : { if ( instructionBased ) { let stepName = header.stepNames[stackStepIndex] if ( stepName === undefined ) stepName = "" let group = vSettings.groupFormat.arg(stepName).arg(title.text) - let settingsGroup = vSettings.settings[group] - // DEBUG : - // var settingsCategory = vSettings.category["Instructions/Instructions"] - if ( settingsGroup !== undefined ) { + let instructionsGroup = vSettings.instructions[group] + if ( instructionsGroup !== undefined ) { // DEBUG : // console.debug(" 00000 ", group, settingsGroup, settingsCategory.groups) - _root.instructionlocation = settingsGroup.location - _root.instructionStepNames = settingsGroup.keys - _root.instructionStepImages = settingsGroup.values + _root.instructionlocation = instructionsGroup.location + _root.instructionStepNames = instructionsGroup.keys + _root.instructionStepImages = instructionsGroup.values } } }