Disabled the slider for numeric values on the tree view.

This commit is contained in:
Trent McPheron 2014-02-10 16:42:46 -05:00
parent 56bf3d0a14
commit 555d3761db
1 changed files with 1 additions and 1 deletions

View File

@ -1575,7 +1575,7 @@ int Tree::propagate_mouse_event(const Point2i &p_pos,int x_ofs,int y_ofs,bool p_
} else { } else {
editor_text=String::num( p_item->cells[col].val, Math::decimals( p_item->cells[col].step ) ); editor_text=String::num( p_item->cells[col].val, Math::decimals( p_item->cells[col].step ) );
bring_up_value_editor=true; bring_up_value_editor=false;
if (select_mode==SELECT_MULTI && get_scene()->get_last_event_id() == focus_in_id) if (select_mode==SELECT_MULTI && get_scene()->get_last_event_id() == focus_in_id)
bring_up_editor=false; bring_up_editor=false;