diff --git a/rtgui/thumbbrowserbase.cc b/rtgui/thumbbrowserbase.cc index 3a92a55f7..a55e1b6f7 100644 --- a/rtgui/thumbbrowserbase.cc +++ b/rtgui/thumbbrowserbase.cc @@ -639,7 +639,12 @@ int ThumbBrowserBase::getEffectiveHeight() { Glib::Mutex::Lock lock(entryMutex); #endif - if (fd.size()>0) h+=fd[0]->getEffectiveHeight(); + // Filtered items do not change in size, so take a non-filtered + for (int i=0;ifiltered) { + h+=fd[i]->getEffectiveHeight(); + break; + } } return h;