Skip to content
Snippets Groups Projects
Commit ebbb8b81 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

No commit message

No commit message
parent fecb5cd9
No related branches found
No related tags found
No related merge requests found
...@@ -112,11 +112,11 @@ ...@@ -112,11 +112,11 @@
ParameterNumberStepper *param = [[ParameterNumberStepper alloc] initWithNumber:p]; ParameterNumberStepper *param = [[ParameterNumberStepper alloc] initWithNumber:p];
[section addObject:param]; [section addObject:param];
} }
else if(p.getMin() == p.getMax() || p.getReadOnly()) { // text box, since no range else if(p.getMin() == p.getMax() || p.getReadOnly()) { // text box
ParameterNumberTextbox *param = [[ParameterNumberTextbox alloc] initWithNumber:p]; ParameterNumberTextbox *param = [[ParameterNumberTextbox alloc] initWithNumber:p];
[section addObject:param]; [section addObject:param];
} }
else { else { // slider
ParameterNumberRange *param = [[ParameterNumberRange alloc] initWithNumber:p]; ParameterNumberRange *param = [[ParameterNumberRange alloc] initWithNumber:p];
[section addObject:param]; [section addObject:param];
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment