summaryrefslogtreecommitdiff
path: root/scene/gui/tree.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/gui/tree.h')
-rw-r--r--scene/gui/tree.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/scene/gui/tree.h b/scene/gui/tree.h
index 4d0167ebb8..1dad26dffe 100644
--- a/scene/gui/tree.h
+++ b/scene/gui/tree.h
@@ -438,6 +438,7 @@ friend class TreeItem;
bool drag_touching;
bool drag_touching_deaccel;
bool click_handled;
+ bool allow_rmb_select;
bool force_select_on_already_selected;
@@ -519,6 +520,9 @@ public:
void set_single_select_cell_editing_only_when_already_selected(bool p_enable);
bool get_single_select_cell_editing_only_when_already_selected() const;
+ void set_allow_rmb_select(bool p_allow);
+ bool get_allow_rmb_select() const;
+
void set_value_evaluator(ValueEvaluator *p_evaluator);
Tree();