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

Don't activate it if not necessary

parent b2281067
......@@ -34,8 +34,10 @@ ExternalComposerPluginEditorInterface::~ExternalComposerPluginEditorInterface()
bool ExternalComposerPluginEditorInterface::exec()
{
richTextEditor()->setUseExternalEditor(mEnabled);
richTextEditor()->setExternalEditorPath(mExternalComposerPath);
if (mEnabled) {
richTextEditor()->setUseExternalEditor(mEnabled);
richTextEditor()->setExternalEditorPath(mExternalComposerPath);
}
return true;
}
......
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