diff options
| author | Greg Ercolano <erco@seriss.com> | 2019-08-24 23:07:21 -0700 |
|---|---|---|
| committer | Greg Ercolano <erco@seriss.com> | 2019-08-24 23:07:21 -0700 |
| commit | 521a5ef17cd88f4f0b50467d7914af2f754630af (patch) | |
| tree | 650550d1df0b697820cabc2fc900223fc65cf37e /FL/Fl_Tree.H | |
| parent | 1b77967823a8048eb8f0af2ee2da2fe4fcea7fab (diff) | |
Fixes STR #3527: Fl_Tree small drags on open/close icons change selection
Diffstat (limited to 'FL/Fl_Tree.H')
| -rw-r--r-- | FL/Fl_Tree.H | 3 |
1 files changed, 2 insertions, 1 deletions
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: |
