From 608cb0c918219c270b8aacaaa3c7e259cbf5be98 Mon Sep 17 00:00:00 2001 From: boutinb Date: Fri, 24 Nov 2023 11:47:12 +0100 Subject: [PATCH] reference to rowCount should be done via dataSetInfo.rowCount Fixes https://github.com/jasp-stats/jasp-test-release/issues/2479 --- inst/qml/processCapabilityStudies.qml | 6 +++--- inst/qml/variablesChartsIndividuals.qml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/inst/qml/processCapabilityStudies.qml b/inst/qml/processCapabilityStudies.qml index c2f5009f..0a623512 100644 --- a/inst/qml/processCapabilityStudies.qml +++ b/inst/qml/processCapabilityStudies.qml @@ -93,7 +93,7 @@ Form id: manualSubgroupSizeValue negativeValues: false min: 1 - max: dataSetModel.rowCount() + max: dataSetInfo.rowCount defaultValue: 5 visible: dataFormat.currentValue == "longFormat" } @@ -296,7 +296,7 @@ Form label: qsTr("Moving range length") defaultValue: 2 min: 2 - max: dataSetModel.rowCount() + max: dataSetInfo.rowCount } } @@ -315,7 +315,7 @@ Form label: qsTr("Moving range length") defaultValue: 2 min: 2 - max: dataSetModel.rowCount() + max: dataSetInfo.rowCount } } } diff --git a/inst/qml/variablesChartsIndividuals.qml b/inst/qml/variablesChartsIndividuals.qml index 79ba0d40..6b605805 100644 --- a/inst/qml/variablesChartsIndividuals.qml +++ b/inst/qml/variablesChartsIndividuals.qml @@ -57,7 +57,7 @@ Form label: qsTr("Moving range length") defaultValue: 2 min: 2 - max: dataSetModel.rowCount() + max: dataSetInfo.rowCount } }