Commit e94d5ada authored by Laurent Montel's avatar Laurent Montel 😁

Allow to select specific page when dialog is already opened

parent 7fa92224
......@@ -83,6 +83,9 @@ void ManageShowCollectionProperties::showCollectionProperties( const QString &pa
const Akonadi::Collection::Id id = mMainWidget->currentFolder()->collection().id();
QPointer<Akonadi::CollectionPropertiesDialog> dlg = mHashDialogBox.value(id);
if (dlg) {
if ( !pageToShow.isEmpty() ) {
dlg->setCurrentPage( pageToShow );
}
dlg->activateWindow();
dlg->raise();
return;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment