Index: sources/gui/qml/compounds/StepNavigationTitleBar.qml =================================================================== diff -u -r98581b325c24eb5ef0ce0ce475ad15320d659140 -r4afc91856c00e01dfb5d84bc54d2d92faefec0db --- sources/gui/qml/compounds/StepNavigationTitleBar.qml (.../StepNavigationTitleBar.qml) (revision 98581b325c24eb5ef0ce0ce475ad15320d659140) +++ sources/gui/qml/compounds/StepNavigationTitleBar.qml (.../StepNavigationTitleBar.qml) (revision 4afc91856c00e01dfb5d84bc54d2d92faefec0db) @@ -25,14 +25,14 @@ * \brief StepNavigationTitleBar */ Rectangle { id: _root - property alias stepIndex : _stepIndicator.currentStepIndex - property alias stepLineLength : _stepIndicator.spacerLineLength + property int stepIndex : 0 + property int stepLineLength : 75 + property var stepNames : [] property alias backVisible : _backButton .visible property alias backEnabled : _backButton .enabled property alias confirmVisible : _confirmButton.visible property alias confirmEnabled : _confirmButton.enabled property alias confirmText : _confirmButton.text - property alias stepNames : _stepIndicator.stepNames height : Variables.topBarMenuHeight color : Colors.backgroundMain @@ -63,7 +63,13 @@ onClicked: _root.confirmClicked() } - StepIndicator { id: _stepIndicator + Loader { id: _stepIndicatorLoader + active: stepNames.length anchors.centerIn: parent + sourceComponent: StepIndicator { id: _stepIndicator + currentStepIndex: _root.stepIndex + spacerLineLength: _root.stepLineLength + stepNames : _root.stepNames + } } }