Fix one case when collapse/expand didn't work

This commit is contained in:
Vedran Ljubovic 2007-08-03 09:49:36 +00:00
parent 10a579512b
commit 96e331ae47

View File

@ -838,6 +838,7 @@ void Fl_Icon_Browser::toggle_collapse(void* lp) {
FL_BLINE* p = l->next;
do {
// expand only one level below!
if (p->level <=l->level) break;
if ((p->flags & NOTDISPLAYED) && (p->level==l->level+1))
invisibles=true;
} while (p=p->next);