|
|
@ -200,11 +200,12 @@ QGCView { |
|
|
|
exclusiveGroup: setupButtonGroup |
|
|
|
exclusiveGroup: setupButtonGroup |
|
|
|
onClicked: { |
|
|
|
onClicked: { |
|
|
|
checked = true |
|
|
|
checked = true |
|
|
|
factRowsLoader.sourceComponent = null |
|
|
|
// Clear the rows from the component first. This allows us to change the componentId without |
|
|
|
|
|
|
|
// breaking any bindings. |
|
|
|
|
|
|
|
factRowsLoader.parameterNames = [ ] |
|
|
|
_rowWidth = 10 |
|
|
|
_rowWidth = 10 |
|
|
|
factRowsLoader.componentId = componentId |
|
|
|
factRowsLoader.componentId = componentId |
|
|
|
factRowsLoader.parameterNames = controller.getParametersForGroup(componentId, modelData) |
|
|
|
factRowsLoader.parameterNames = controller.getParametersForGroup(componentId, modelData) |
|
|
|
factRowsLoader.sourceComponent = factRowsComponent |
|
|
|
|
|
|
|
_currentGroup = modelData |
|
|
|
_currentGroup = modelData |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|