Fixed two thumb size related bugs (see issue #346)

This commit is contained in:
Oliver Duis
2010-11-20 13:52:09 +01:00
parent e16b4eee2e
commit 62ef20da5f
4 changed files with 12 additions and 5 deletions

View File

@@ -195,7 +195,7 @@ void FileBrowser::addEntry_ (FileBrowserEntry* entry) {
entry->getThumbButtonSet()->setRank (entry->thumbnail->getRank());
entry->getThumbButtonSet()->setInTrash (entry->thumbnail->getStage()==1);
entry->getThumbButtonSet()->setButtonListener (this);
entry->resize (options.thumbSize);
entry->resize (getCurrentThumbSize());
// find place in abc order
std::vector<ThumbBrowserEntryBase*>::iterator i = fd.begin();