[Digikam-devel] [Bug 139547] tag hierarchy automatic fill

Gilles Caulier caulier.gilles at kdemail.net
Mon Jan 8 16:18:40 GMT 2007


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=139547         




------- Additional Comments From caulier.gilles kdemail net  2007-01-08 17:18 -------
SVN commit 621319 by cgilles:

digiKam from trunk : Comments & Tags pop-up menu : fix behaviour if Toggle Auto Tags == "Childs and Parents"

CCBUGS: 139547

 M  +8 -2      imagedescedittab.cpp  


--- trunk/extragear/graphics/digikam/libs/imageproperties/imagedescedittab.cpp #621318:621319
 @ -521,17 +521,23  @
 
 void ImageDescEditTab::slotItemStateChanged(TAlbumCheckListItem *item)
 {
+    TagFilterView::ToggleAutoTags oldAutoTags = d->toggleAutoTags;     
+
     switch(d->toggleAutoTags)
     {
         case TagFilterView::Childs:
-            toggleChildTags(item->m_album, item->isOn());
+            d->toggleAutoTags = TagFilterView::NoToggleAuto;            toggleChildTags(item->m_album, item->isOn());
+            d->toggleAutoTags = oldAutoTags;
             break;
         case TagFilterView::Parents:
-            toggleParentTags(item->m_album, item->isOn());
+            d->toggleAutoTags = TagFilterView::NoToggleAuto;                        toggleParentTags(item->m_album, item->isOn());
+            d->toggleAutoTags = oldAutoTags;
             break;
         case TagFilterView::ChildsAndParents:
+            d->toggleAutoTags = TagFilterView::NoToggleAuto;            
             toggleChildTags(item->m_album, item->isOn());
             toggleParentTags(item->m_album, item->isOn());
+            d->toggleAutoTags = oldAutoTags;
             break;
         default:
             break;



More information about the Digikam-devel mailing list