[Digikam-devel] [Bug 111873] Modifying and then navigating in the thumbbar does not update photo thumbnail

Gilles Caulier caulier.gilles at free.fr
Thu Sep 1 12:26:53 BST 2005


------- 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=111873         




------- Additional Comments From caulier.gilles free fr  2005-09-01 13:26 -------
SVN commit 455796 by cgilles:

re-select preview item in thumbar if cancel is selected when prompt user save.
CCBUG: 111873

 M  +5 -0      showfoto.cpp  


--- trunk/extragear/graphics/digikam/showfoto/showfoto.cpp #455795:455796
 @ -863,7 +863,12  @
 void ShowFoto::slotOpenURL(const KURL& url)
 {
     if(!promptUserSave())
+    {
+        m_bar->blockSignals(true);
+        m_bar->setSelected(m_currentItem);
+        m_bar->blockSignals(false);
         return;
+    }
 
     m_currentItem = m_bar->currentItem();
     if(!m_currentItem)



More information about the Digikam-devel mailing list