Skip to content

Commit

Permalink
Merge pull request #15 from FBartos/fix-regBFF
Browse files Browse the repository at this point in the history
fix BFF Regression input
  • Loading branch information
FBartos authored Nov 27, 2024
2 parents 1c2dfd7 + ce3e4cb commit 4be39f8
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions inst/qml/bffRegression.qml
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,17 @@ Form {
IntegerField
{
name: "sampleSize"
id: sampleSize
label: qsTr("Sample size")
min: (predictors.value == 0 || sampleSize.value == 0) ? 0 : parseInt(predictors.value) + 2
}

IntegerField
{
name: "predictors"
label: qsTr("Predictors")
id: predictors
label: qsTr("Predictors")
max: (predictors.value == 0 || sampleSize.value == 0) ? 2147483647 : parseInt(sampleSize.value) - 2
}
}

Expand Down

0 comments on commit 4be39f8

Please sign in to comment.