Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 3c4ddc90 authored by Laurent Montel's avatar Laurent Montel 😁

Add warning when we don't have account :x

parent 838d649e
......@@ -20,6 +20,7 @@
#include "selectimapwidget.h"
#include "selectimapfolderdialog.h"
#include "selectimaplineedit.h"
#include "imapfoldercompletionplugin_debug.h"
#include <KLocalizedString>
#include <QToolButton>
#include <QHBoxLayout>
......@@ -69,6 +70,8 @@ void SelectImapWidget::setSieveImapAccountSettings(const KSieveUi::SieveImapAcco
if (mAccount.isValid()) {
mToolButton->show();
mLineEdit->setSieveImapAccountSettings(account);
} else {
qCDebug(IMAPFOLDERCOMPLETIONPLUGIN_LOG) << "Account is not defined";
}
}
......
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