Merge pull request #17 from TiZ-EX1/master

Disable the slider for numeric values on the tree view.
This commit is contained in:
okamstudio 2014-02-13 12:04:59 -02:00
commit 6ac0316316
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;