Only reload images for thumbbrowserentrybase::resize if the size has really
changed. Makes closing preferences, 'I' key faster.
This commit is contained in:
@@ -492,7 +492,8 @@ void ThumbBrowserBase::refreshThumbImages () {
|
||||
for (int i=0; i<fd.size(); i++){
|
||||
previewHeight = getCurrentThumbSize();
|
||||
fd[i]->resize (previewHeight);// TODO!!! Might be performance bottleneck
|
||||
fd[i]->refreshThumbnailImage (); // TODO: This might cause crashes on some installations
|
||||
/* called if necessary by resize()
|
||||
fd[i]->refreshThumbnailImage (); TODO: This might cause crashes on some installations */
|
||||
}
|
||||
|
||||
redraw ();
|
||||
|
Reference in New Issue
Block a user