Skip to content

Commit

Permalink
reference to rowCount should be done via dataSetInfo.rowCount (#131)
Browse files Browse the repository at this point in the history
  • Loading branch information
boutinb authored Nov 24, 2023
1 parent a5f99df commit c2d8429
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inst/qml/common/LDGenerateDisplayData.qml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Section
title: qsTr("Generate new variable from %1").arg(distributionName) + " (" + formula + ")"

AddColumnField { name: "newVariableName"; text: qsTr("Variable name: "); fieldWidth: 120; placeholderText: qsTr("e.g., random %1").arg(distributionSimpleName) }
IntegerField { name: "sampleSize"; label: qsTr("Number of samples: "); min: dataSetInfo.dataAvailable ? 1 : 0; defaultValue: dataSetModel.rowCount(); max: dataSetModel.rowCount() }
IntegerField { name: "sampleSize"; label: qsTr("Number of samples: "); min: dataSetInfo.dataAvailable ? 1 : 0; defaultValue: dataSetInfo.rowCount; max: dataSetInfo.rowCount }
Button
{
id: simulateNowButton
Expand Down

0 comments on commit c2d8429

Please sign in to comment.