[Digikam-devel] [Bug 280082] Light Table doesn't change right image properly
Gilles Caulier
caulier.gilles at gmail.com
Fri Sep 16 12:26:00 BST 2011
https://bugs.kde.org/show_bug.cgi?id=280082
Gilles Caulier <caulier.gilles at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |caulier.gilles at gmail.com
--- Comment #6 from Gilles Caulier <caulier gilles gmail com> 2011-09-16 11:25:59 ---
Git commit 56030d3ba09dd60aaed2056bd5c3b63a5fb8a13b by Gilles Caulier.
Committed on 16/09/2011 at 13:14.
Pushed by cgilles into branch 'master'.
use thumbbar item simple click to load image in LT right panel
M +1 -0 utilities/lighttable/lighttablethumbbar.cpp
M +1 -1 utilities/lighttable/lighttablewindow.cpp
http://commits.kde.org/digikam/56030d3ba09dd60aaed2056bd5c3b63a5fb8a13b
diff --git a/utilities/lighttable/lighttablethumbbar.cpp
b/utilities/lighttable/lighttablethumbbar.cpp
index f7a987e..8ea5cd5 100644
--- a/utilities/lighttable/lighttablethumbbar.cpp
+++ b/utilities/lighttable/lighttablethumbbar.cpp
@@ -87,6 +87,7 @@ LightTableThumbBar::LightTableThumbBar(QWidget* parent)
d->imageFilterModel->setCategorizationMode(ImageSortSettings::NoCategories);
d->imageFilterModel->setSortRole((ImageSortSettings::SortRole)AlbumSettings::instance()->getImageSortOrder());
d->imageFilterModel->setSortOrder((ImageSortSettings::SortOrder)AlbumSettings::instance()->getImageSorting());
+ d->imageFilterModel->sort(0); // an initial sorting is necessary
d->dragDropHandler = new ImageDragDropHandler(d->imageInfoModel);
d->dragDropHandler->setReadOnlyDrop(true);
diff --git a/utilities/lighttable/lighttablewindow.cpp
b/utilities/lighttable/lighttablewindow.cpp
index b5cc740..332200d 100644
--- a/utilities/lighttable/lighttablewindow.cpp
+++ b/utilities/lighttable/lighttablewindow.cpp
@@ -360,7 +360,7 @@ void LightTableWindow::setupConnections()
connect(d->thumbView, SIGNAL(signalDroppedItems(QList<ImageInfo>)),
this, SLOT(slotThumbbarDroppedItems(QList<ImageInfo>)));
- connect(d->thumbView, SIGNAL(imageActivated(ImageInfo)),
+ connect(d->thumbView, SIGNAL(currentChanged(ImageInfo)),
this, SLOT(slotItemSelected(ImageInfo)));
connect(d->thumbView, SIGNAL(signalContentChanged()),
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Digikam-devel
mailing list