Commit 62d41445 authored by Mathieu Faverge's avatar Mathieu Faverge

Silent warning in Interval_selec.cpp

parent 9c870fae
...@@ -263,7 +263,9 @@ void Interval_select::maxSliderValueChanged( int _value ) ...@@ -263,7 +263,9 @@ void Interval_select::maxSliderValueChanged( int _value )
void Interval_select::apply_settings(){ void Interval_select::apply_settings(){
if (! _applied) { if (! _applied) {
if(minSpinBox->value()!=maxSpinBox->value()){ if(minSpinBox->value()!=maxSpinBox->value()){
Element_pos zoom[2]={minSpinBox->value(), maxSpinBox->value()}; Element_pos min = minSpinBox->value();
Element_pos max = maxSpinBox->value();
Element_pos zoom[2] = { min, max };
//Info::Render::_x_min_visible = 0.0; //Info::Render::_x_min_visible = 0.0;
//Info::Render::_x_max_visible = 0.0; //Info::Render::_x_max_visible = 0.0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment