[Digikam-devel] [Bug 145236] small wishes for the light-table

Gilles Caulier caulier.gilles at gmail.com
Sat May 12 07:49:52 BST 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=145236         




------- Additional Comments From caulier.gilles gmail com  2007-05-12 08:49 -------
SVN commit 663723 by cgilles:

digikam from trunk: Light Table : re-synchronize preview properlly when "Sync Left/Right" panel option is toogle on.
CCBUGS: 145236



 M  +4 -0      lighttableview.cpp  
 M  +1 -1      lighttablewindow.cpp  


--- trunk/extragear/graphics/digikam/utilities/lighttable/lighttableview.cpp #663722:663723
 @ -143,6 +143,10  @
 void LightTableView::setSyncPreview(bool sync)
 {
     d->syncPreview = sync;
+
+    // Left panel like a reference to resync preview.
+    if (d->syncPreview)    
+        slotLeftContentsMoved(d->leftPreview->contentsX(), d->leftPreview->contentsY());
 }
 
 void LightTableView::slotDecreaseZoom()
--- trunk/extragear/graphics/digikam/utilities/lighttable/lighttablewindow.cpp #663722:663723
 @ -1230,7 +1230,7  @
 {
     d->zoomPlusAction->setEnabled(d->syncPreviewAction->isChecked());
     d->zoomMinusAction->setEnabled(d->syncPreviewAction->isChecked());
-    d->previewView->setSyncPreview(d->syncPreviewAction->isChecked());
+    d->previewView->setSyncPreview(d->syncPreviewAction->isChecked());    
 }
 
 void LightTableWindow::slotToggleOnSyncPreview(bool t)



More information about the Digikam-devel mailing list