Index: sources/gui/qml/pages/TreatmentFlowBase.qml =================================================================== diff -u -r54c4136d95375116e6daf23b7d4179159cf13d0c -rfec49d1a8016d25cedff4cf2fefb4c4cd1c7c259 --- sources/gui/qml/pages/TreatmentFlowBase.qml (.../TreatmentFlowBase.qml) (revision 54c4136d95375116e6daf23b7d4179159cf13d0c) +++ sources/gui/qml/pages/TreatmentFlowBase.qml (.../TreatmentFlowBase.qml) (revision fec49d1a8016d25cedff4cf2fefb4c4cd1c7c259) @@ -164,25 +164,21 @@ text : "" } - NotificationBar { id: _notification - iconVisible: false - } + NotificationBarSmall { id: _notification } 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 } } }