diff options
author | Franklin Sobrinho <franklin_gs@hotmail.com> | 2016-01-21 13:03:06 -0300 |
---|---|---|
committer | Franklin Sobrinho <franklin_gs@hotmail.com> | 2016-01-21 13:03:06 -0300 |
commit | 06cafeac0a15051e1ba2733989f0a70ae59d496f (patch) | |
tree | 19003fa5c892d005551e41a6b8484591f7c7b5c7 /scene/gui/tree.h | |
parent | fcae3fb3bab25b588921e84ce43924c830b18dc5 (diff) |
Tree and PropertyEditor confirm value change on focus loss
Diffstat (limited to 'scene/gui/tree.h')
-rw-r--r-- | scene/gui/tree.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/scene/gui/tree.h b/scene/gui/tree.h index 54e6a9c6b9..2562e6aaef 100644 --- a/scene/gui/tree.h +++ b/scene/gui/tree.h @@ -271,7 +271,6 @@ friend class TreeItem; bool range_drag_enabled; Vector2 range_drag_capture_pos; - //TreeItem *cursor_item; //int cursor_column; @@ -314,6 +313,8 @@ friend class TreeItem; void select_single_item(TreeItem *p_selected,TreeItem *p_current,int p_col,TreeItem *p_prev=NULL,bool *r_in_range=NULL); int propagate_mouse_event(const Point2i &p_pos,int x_ofs,int y_ofs,bool p_doubleclick,TreeItem *p_item,int p_button,const InputModifierState& p_mod); void text_editor_enter(String p_text); + void text_editor_changed(String p_text); + void text_editor_hide(); void value_editor_changed(double p_value); void popup_select(int p_option); @@ -418,6 +419,8 @@ friend class TreeItem; bool hide_folding; + bool text_changed; + protected: static void _bind_methods(); |