Commit ffa655f6 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Better to check if we click on ok/cancel

Revert "Not necessary to show messagebox when we click on cancel"

This reverts commit 6efd29c2.
parent 6efd29c2
...@@ -128,6 +128,8 @@ void SelectImapFolderWidget::createFolder() ...@@ -128,6 +128,8 @@ void SelectImapFolderWidget::createFolder()
} }
//TODO more check for folder name ? //TODO more check for folder name ?
SelectImapFolderModel::self()->createNewFolder(mAccount, currentPath + QLatin1Char('/') + name); SelectImapFolderModel::self()->createNewFolder(mAccount, currentPath + QLatin1Char('/') + name);
} else {
KMessageBox::error(this, i18n("Empty folder name is not supported."), i18n("Create Folder"));
} }
} }
} }
......
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