From e94d5adaa49306a4de494e7be9d603a3b67a3a80 Mon Sep 17 00:00:00 2001 From: Montel Laurent Date: Tue, 2 Dec 2014 13:35:45 +0100 Subject: [PATCH] Allow to select specific page when dialog is already opened --- kmail/manageshowcollectionproperties.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/kmail/manageshowcollectionproperties.cpp b/kmail/manageshowcollectionproperties.cpp index 1c9d83d670..231a698648 100644 --- a/kmail/manageshowcollectionproperties.cpp +++ b/kmail/manageshowcollectionproperties.cpp @@ -83,6 +83,9 @@ void ManageShowCollectionProperties::showCollectionProperties( const QString &pa const Akonadi::Collection::Id id = mMainWidget->currentFolder()->collection().id(); QPointer dlg = mHashDialogBox.value(id); if (dlg) { + if ( !pageToShow.isEmpty() ) { + dlg->setCurrentPage( pageToShow ); + } dlg->activateWindow(); dlg->raise(); return; -- GitLab