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

No commit message

No commit message
parent 580aacf1
Branches
No related tags found
No related merge requests found
...@@ -112,7 +112,7 @@ ...@@ -112,7 +112,7 @@
ParameterNumberStepper *param = [[ParameterNumberStepper alloc] initWithNumber:p]; ParameterNumberStepper *param = [[ParameterNumberStepper alloc] initWithNumber:p];
[section addObject:param]; [section addObject:param];
} }
else if(p.getMin() == p.getMax()) { // text box, since no range else if(p.getMin() == p.getMax() || p.getReadOnly()) { // text box, since no range
ParameterNumberTextbox *param = [[ParameterNumberTextbox alloc] initWithNumber:p]; ParameterNumberTextbox *param = [[ParameterNumberTextbox 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