diff --git a/efiler/Fl_Icon_Browser.cxx b/efiler/Fl_Icon_Browser.cxx index ac6fffd..5311433 100644 --- a/efiler/Fl_Icon_Browser.cxx +++ b/efiler/Fl_Icon_Browser.cxx @@ -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);