Skip to content

Commit

Permalink
improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
RensDofferhoff committed Apr 18, 2023
1 parent 530f003 commit 3cddee2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions inst/qml/auditClassicalEvaluation.qml
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ Form
PercentField
{
name: "irCustom"
defaultValue: jaspConfiguration.get(ir.value, ir.value == "high" ? 100 : (ir.value == 'medium' ? 60 : (ir.value == "low" ? 36 : 100)), "jaspAudit")
defaultValue: form.getConstant(ir.value, ir.value == "high" ? 100 : (ir.value == 'medium' ? 60 : (ir.value == "low" ? 36 : 100)))
min: 25
enabled: ir.value == "custom"
}
Expand All @@ -387,7 +387,7 @@ Form
PercentField
{
name: "crCustom"
defaultValue: jaspConfiguration.get(cr.value, ir.value == "high" ? 100 : (cr.value == 'medium' ? 60 : (cr.value == "low" ? 36 : 100)), "jaspAudit")
defaultValue: form.getConstant(cr.value, ir.value == "high" ? 100 : (cr.value == 'medium' ? 60 : (cr.value == "low" ? 36 : 100)))
min: 25
enabled: cr.value == "custom"
}
Expand Down
4 changes: 2 additions & 2 deletions inst/qml/auditClassicalPlanning.qml
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ Form
PercentField
{
name: "irCustom"
defaultValue: jaspConfiguration.get(ir.value, ir.value == "high" ? 100 : (ir.value == 'medium' ? 60 : (ir.value == "low" ? 36 : 100)), "jaspAudit")
defaultValue: form.getConstant(ir.value, ir.value == "high" ? 100 : (ir.value == 'medium' ? 60 : (ir.value == "low" ? 36 : 100)))
min: 25
enabled: ir.value == "custom"
}
Expand All @@ -350,7 +350,7 @@ Form
PercentField
{
name: "crCustom"
defaultValue: jaspConfiguration.get(cr.value, cr.value == "high" ? 100 : (cr.value == 'medium' ? 60 : (cr.value == "low" ? 36 : 100)), "jaspAudit")
defaultValue: form.getConstant(cr.value, cr.value == "high" ? 100 : (cr.value == 'medium' ? 60 : (cr.value == "low" ? 36 : 100)))
min: 25
enabled: cr.value == "custom"
}
Expand Down
4 changes: 2 additions & 2 deletions inst/qml/auditClassicalWorkflow.qml
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ Form
PercentField
{
name: "irCustom"
defaultValue: jaspConfiguration.get(ir.value, ir.value == "high" ? 100 : (ir.value == 'medium' ? 60 : (ir.value == "low" ? 36 : 100)), "jaspAudit", "auditClassicalWorkflow")
defaultValue: form.getConstant(ir.value, ir.value == "high" ? 100 : (ir.value == 'medium' ? 60 : (ir.value == "low" ? 36 : 100)))
min: 25
enabled: ir.value == "custom"
}
Expand All @@ -400,7 +400,7 @@ Form
PercentField
{
name: "crCustom"
defaultValue: jaspConfiguration.get(cr.value, cr.value == "high" ? 100 : (cr.value == 'medium' ? 60 : (cr.value == "low" ? 36 : 100)), "jaspAudit", "auditClassicalWorkflow")
defaultValue: form.getConstant(cr.value, cr.value == "high" ? 100 : (cr.value == 'medium' ? 60 : (cr.value == "low" ? 36 : 100)))
min: 25
enabled: cr.value == "custom"
}
Expand Down

0 comments on commit 3cddee2

Please sign in to comment.