From kde-bugs-dist Sat Oct 09 16:13:32 2004 From: Joern Ahrens Date: Sat, 09 Oct 2004 16:13:32 +0000 To: kde-bugs-dist Subject: [Bug 91007] wish: open categories in left pane with double-click Message-Id: <20041009161332.4477.qmail () ktown ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-bugs-dist&m=109733842123181 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. http://bugs.kde.org/show_bug.cgi?id=91007 kde jokele de changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED ------- Additional Comments From kde jokele de 2004-10-09 18:13 ------- 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(item); - - if (folderItem->isGroupItem() || folderItem->album()->isRoot()) - return; - - if (folderItem->album()->type() == Album::PHYSICAL) - albumEdit(dynamic_cast(folderItem->album())); - else - tagEdit(dynamic_cast(folderItem->album())); + item->setOpen(!item->isOpen()); }