Summary: | tags preview not updated in last image of album | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Daniel Bauer <linux> |
Component: | Tags-Engine | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 0.9.1 | |
Sentry Crash Report: |
Description
Daniel Bauer
2007-02-19 14:12:45 UTC
SVN commit 635761 by mwiesweg: Also update the last visible item in AlbumIconView (Daniel, thanks for your very precise bug report) BUG: 141924 M +3 -1 albumiconview.cpp --- trunk/extragear/graphics/digikam/digikam/albumiconview.cpp #635760:635761 @@ -1953,7 +1953,7 @@ { AlbumIconItem *firstItem = static_cast<AlbumIconItem *>(findFirstVisibleItem()); AlbumIconItem *lastItem = static_cast<AlbumIconItem *>(findLastVisibleItem()); - for (AlbumIconItem *item = firstItem; item && item != lastItem; + for (AlbumIconItem *item = firstItem; item; item = static_cast<AlbumIconItem *>(item->nextItem())) { if (item->imageInfo()->id() == imageId) @@ -1961,6 +1961,8 @@ updateContents(); return; } + if (item == lastItem) + break; } } |