From 0c141c8f2701743d953bfc5543986a6c4869c7df Mon Sep 17 00:00:00 2001 From: Thomas McGuire Date: Tue, 7 Jul 2009 21:05:30 +0000 Subject: [PATCH] Make it possible to jump to search folders in the folder selection dialog as well. svn path=/trunk/KDE/kdepim/; revision=992874 --- folderselectiontreewidget.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/folderselectiontreewidget.cpp b/folderselectiontreewidget.cpp index 29d080244..b3100dd6c 100644 --- a/folderselectiontreewidget.cpp +++ b/folderselectiontreewidget.cpp @@ -114,8 +114,8 @@ void FolderSelectionTreeWidget::recursiveReload( FolderViewItem *fti, FolderSele if ( fti->folder() && fti->folder()->hideInSelectionDialog() ) return; - // search folders are never shown - if ( fti->protocol() == KPIM::FolderTreeWidgetItem::Search ) + // search folders are only shown when they are read-only + if ( fti->protocol() == KPIM::FolderTreeWidgetItem::Search && mLastMustBeReadWrite ) return; // imap folders?