Skip to content
Snippets Groups Projects
Commit 64e2b147 authored by Maxime Graulich's avatar Maxime Graulich
Browse files

iOS: remove errors before compute

parent 5e11ac93
No related branches found
No related tags found
No related merge requests found
......@@ -149,6 +149,7 @@
- (void)compute
{
[_errors removeAllObjects];
[_runStopButton setAction:@selector(stop)];
[_runStopButton setTitle:@"Stop"];
[_progressLabel setText:@""];
......
......@@ -146,10 +146,7 @@
for(int iparameter = 0; iparameter<[section count]; iparameter++) {
if([[[section objectAtIndex: iparameter] getName] isEqualToString:name]) { // The parameter is in the section
Parameter * p = [section objectAtIndex: iparameter];
//if(number[i].getVisible())
[p refresh]; // just refresh the parameter
//else
// [self removeParemeterNumber:number[i] atIndex:[NSIndexPath indexPathForRow:iparameter inSection:iSection]];
found = true;
break;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment