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

fix missing label update in slider

parent ff24232b
No related branches found
No related tags found
No related merge requests found
......@@ -294,6 +294,7 @@
[slider setMaximumValue:number[0].getMax()];
[slider setMinimumValue:number[0].getMin()];
[slider setValue:number[0].getValue()];
[label setText:[NSString stringWithFormat:@"%@ %g" ,[NSString stringWithCString:number[0].getShortName().c_str() encoding:[NSString defaultCStringEncoding]], number[0].getValue()]];
}
-(void)sliderValueChanged:(UISlider *)sender
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment