Summary: | Open categories in left pane with double-click | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | S. Burmeister <sven.burmeister> |
Component: | Tags-Keywords | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | caulier.gilles |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 7.5.0 | |
Sentry Crash Report: |
Description
S. Burmeister
2004-10-09 14:12:09 UTC
CVS commit by jahrens: Double click on a tag/album/collection opens / closes it, depending on it's previous state. CCMAIL: 91007-done@bugs.kde.org M +1 -10 albumfolderview.cpp 1.48 --- kdeextragear-3/digikam/digikam/albumfolderview.cpp #1.47:1.48 @@ -1064,14 +1064,5 @@ void AlbumFolderView::slotDoubleClicked( if (!item) return; - AlbumFolderItem *folderItem - = static_cast<AlbumFolderItem *>(item); - - if (folderItem->isGroupItem() || folderItem->album()->isRoot()) - return; - - if (folderItem->album()->type() == Album::PHYSICAL) - albumEdit(dynamic_cast<PAlbum*>(folderItem->album())); - else - tagEdit(dynamic_cast<TAlbum*>(folderItem->album())); + item->setOpen(!item->isOpen()); } That was quick. Too quick for me to post my second thought. When you single-click on the category nothing happens, maybe a single click would be even more straight forward to open/close a category? |