Summary: | add images without an album - images don't show in digikam | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | David Anderson <david> |
Component: | Database-Albums | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | caulier.gilles |
Priority: | NOR | ||
Version: | 0.7.1 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 8.0.0 | |
Sentry Crash Report: |
Description
David Anderson
2005-01-13 20:14:16 UTC
CVS commit by jahrens: BUG: 96941 M +26 -7 digikamapp.cpp 1.81 M +1 -1 digikamapp.h 1.30 --- kdeextragear-3/digikam/digikam/digikamapp.cpp #1.80:1.81 @@ -591,14 +590,34 @@ void DigikamApp::slotAboutToShowForwardM void DigikamApp::slot_albumSelected(bool val) { + Album *album = mAlbumManager->currentAlbum(); + if(album && !album->isRoot()) + { mDeleteAction->setEnabled(val); mAddImagesAction->setEnabled(val); mPropsEditAction->setEnabled(val); mOpenInKonquiAction->setEnabled(val); + } + else + { + mDeleteAction->setEnabled(false); + mAddImagesAction->setEnabled(false); + mPropsEditAction->setEnabled(false); + mOpenInKonquiAction->setEnabled(false); + } } void DigikamApp::slot_tagSelected(bool val) { + Album *album = mAlbumManager->currentAlbum(); + if(album && !album->isRoot()) + { mDeleteTagAction->setEnabled(val); mEditTagAction->setEnabled(val); + } + else + { + mDeleteTagAction->setEnabled(false); + mEditTagAction->setEnabled(false); + } } |