Call slotFolderExpanded on startup to make sure the folder-settings are fully read.

Additionally syncs the foldertree with the server.

svn path=/trunk/kdenetwork/kmail/; revision=129654
wilder-work
Carsten Burghardt 25 years ago
parent e2ed3a56bb
commit 129c5a070c
  1. 3
      kmfoldertree.cpp

@ -450,6 +450,9 @@ void KMFolderTree::addDirectory( KMFolderDir *fdir, QListViewItem* parent )
if (fti->folder && fti->folder->protocol() == "imap" && parent &&
!parent->parent()) fti->setExpandable( TRUE );
fti->setOpen( readIsListViewItemOpen(fti) );
// make sure that the folder-settings are correctly read on startup by calling listDirectory
if (readIsListViewItemOpen(fti) && fti->folder->protocol() == "imap")
slotFolderExpanded(fti);
}
}

Loading…
Cancel
Save