From 521a5ef17cd88f4f0b50467d7914af2f754630af Mon Sep 17 00:00:00 2001 From: Greg Ercolano Date: Sat, 24 Aug 2019 23:07:21 -0700 Subject: Fixes STR #3527: Fl_Tree small drags on open/close icons change selection --- FL/Fl_Tree.H | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'FL') diff --git a/FL/Fl_Tree.H b/FL/Fl_Tree.H index 372e9a6f9..d57e33ad6 100644 --- a/FL/Fl_Tree.H +++ b/FL/Fl_Tree.H @@ -292,7 +292,8 @@ class FL_EXPORT Fl_Tree : public Fl_Group { Fl_Tree_Reason _callback_reason; // reason for the callback Fl_Tree_Prefs _prefs; // all the tree's settings int _scrollbar_size; // size of scrollbar trough - Fl_Tree_Item *_lastselect; + Fl_Tree_Item *_lastselect; // last selected item + char _lastpushed; // entity FL_PUSH occurred on: 0=nothing, 1=open/close, 2=item void fix_scrollbar_order(); protected: -- cgit v1.2.3