summaryrefslogtreecommitdiff
path: root/scene/gui/tree.cpp
diff options
context:
space:
mode:
authorokamstudio <juan@okamstudio.com>2014-02-13 12:04:59 -0200
committerokamstudio <juan@okamstudio.com>2014-02-13 12:04:59 -0200
commit6ac03163166d70a147d84b938e8f2e7a8bdd81f3 (patch)
tree479817a3a9c122c88375922a2c1af26bf7081777 /scene/gui/tree.cpp
parent337d98a3e9d0e885448bb6187dcc4ded103c47df (diff)
parent555d3761dbb1047017909f939eae9979f887214e (diff)
Merge pull request #17 from TiZ-EX1/master
Disable the slider for numeric values on the tree view.
Diffstat (limited to 'scene/gui/tree.cpp')
-rw-r--r--scene/gui/tree.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/tree.cpp b/scene/gui/tree.cpp
index ca6a1e812e..9be3c97901 100644
--- a/scene/gui/tree.cpp
+++ b/scene/gui/tree.cpp
@@ -1575,7 +1575,7 @@ int Tree::propagate_mouse_event(const Point2i &p_pos,int x_ofs,int y_ofs,bool p_
} else {
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)
bring_up_editor=false;