[Digikam-devel] extragear/graphics/digikam
Gilles Caulier
caulier.gilles at free.fr
Wed Jan 18 08:51:17 GMT 2006
SVN commit 499561 by cgilles:
digikam from trunk : image properties side bar BUGFIX : When an album item is selected from main interface, and if "Comments & Tag" tab is selected, if this item is deleted, "Comments & Tags" tab been lost. This commit fix this problem to adding a new signal/slot connection to invalid image properties sidebar contents just before item deletion.
CCMAIL: digikam-devel at kde.org
M +0 -3 TODO
M +8 -0 digikam/digikamview.cpp
M +1 -0 digikam/digikamview.h
--- trunk/extragear/graphics/digikam/TODO #499560:499561
@@ -17,9 +17,6 @@
- Added signal/slots control between IE and main interface about "comments & tags" tab.
Comments & tags set from main must be updated in IE and vise-versa.
- - There is a bug releavant of sidebar (?) implementation. when an album item is selected
- from main interface, and if "Comments & Tag" tab is selected, if this item is deleted, "Comments
- & Tags" tab is lost!
* 16 bits/color/pixels support : Any Image plugins must be adapted. Current port status is listed below :
--- trunk/extragear/graphics/digikam/digikam/digikamview.cpp #499560:499561
@@ -144,6 +144,9 @@
connect(mIconView, SIGNAL(signalItemsAdded()),
this, SLOT(slot_albumHighlight()));
+
+ connect(mIconView, SIGNAL(signalItemDeleted(AlbumIconItem*)),
+ this, SLOT(slot_imageDeleted()));
connect(mTagFolderView, SIGNAL(signalTagsAssigned()),
mIconView->viewport(), SLOT(update()));
@@ -510,6 +513,11 @@
emit signal_imageSelected(selected);
}
+void DigikamView::slot_imageDeleted()
+{
+ mRightSidebar->noCurrentItem();
+}
+
void DigikamView::slot_albumsCleared()
{
mIconView->clear();
--- trunk/extragear/graphics/digikam/digikam/digikamview.h #499560:499561
@@ -136,6 +136,7 @@
void slotAllAlbumsLoaded();
void slot_imageSelected();
+ void slot_imageDeleted();
void slot_albumsCleared();
void slot_albumHighlight();
More information about the Digikam-devel
mailing list