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

missing onelab_check when editing parameters manually

parent 4e93b58f
No related branches found
No related tags found
No related merge requests found
...@@ -89,7 +89,10 @@ ...@@ -89,7 +89,10 @@
double value = [[alertView textFieldAtIndex:0].text doubleValue]; double value = [[alertView textFieldAtIndex:0].text doubleValue];
number[0].setValue(value); number[0].setValue(value);
onelab::server::instance()->set(number[0]); onelab::server::instance()->set(number[0]);
[self refreshTableView]; if(onelab_cb("check") == 1){
[[NSNotificationCenter defaultCenter] postNotificationName:@"requestRender" object:nil];
[[NSNotificationCenter defaultCenter] postNotificationName:@"refreshParameters" object:nil];
}
} }
} }
- (void)indexDidChangeForSegmentedControl:(id)sender - (void)indexDidChangeForSegmentedControl:(id)sender
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment