summaryrefslogtreecommitdiff
path: root/scene
diff options
context:
space:
mode:
authorFranklin Sobrinho <franklin_gs@hotmail.com>2016-07-04 12:14:49 -0300
committerFranklin Sobrinho <franklin_gs@hotmail.com>2016-07-04 12:14:49 -0300
commit5c3c87206b7e00619b22d45ff2ce677ad50d478b (patch)
tree81be06746cba716a32e1f8f892de201d70ea8310 /scene
parent576a28470fce95cf0d35d5e2e1e408b4afe80e4f (diff)
Fix TreeItem range editing by dragging on the inspector
Diffstat (limited to 'scene')
-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 db14c15db8..581103931e 100644
--- a/scene/gui/tree.cpp
+++ b/scene/gui/tree.cpp
@@ -2279,7 +2279,7 @@ void Tree::_input_event(InputEvent p_event) {
update();
}
- if (pressing_for_editor && popup_edited_item && popup_edited_item->get_cell_mode(popup_edited_item_col)==TreeItem::CELL_MODE_RANGE) {
+ if (pressing_for_editor && popup_edited_item && (popup_edited_item->get_cell_mode(popup_edited_item_col)==TreeItem::CELL_MODE_RANGE || popup_edited_item->get_cell_mode(popup_edited_item_col)==TreeItem::CELL_MODE_RANGE_EXPRESSION)) {
//range drag
if (!range_drag_enabled) {