Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
FBartos committed Nov 27, 2024
1 parent 1c2dfd7 commit ce3e4cb
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 ce3e4cb

Please sign in to comment.