bugfix for issue #569: thumbs disappear when +/- button is pressed
An implementation for redrawNeed() was lacking in the derived class BatchQueue: when updateImage called it there was no effect.
This commit is contained in:
@@ -566,5 +566,14 @@ int ThumbBrowserBase::getEffectiveHeight() {
|
||||
return h;
|
||||
}
|
||||
|
||||
void ThumbBrowserBase::redrawNeeded (ThumbBrowserEntryBase* entry) {
|
||||
|
||||
if (entry->insideWindow (0, 0, internal.get_width(), internal.get_height())) {
|
||||
if (!internal.isDirty ()) {
|
||||
internal.setDirty ();
|
||||
internal.queue_draw ();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user