Commit 1ce60cb3 authored by jkobus's avatar jkobus Committed by Jarek Kobus

DiffEditor: remove description when the diff is saved.

The description itself isn't saved so no need to
keep it anymore.

Change-Id: I8e521ce261261eb91a1f218f4e65092fc3fb44e8
Reviewed-by: default avatarTobias Hunger <tobias.hunger@theqtcompany.com>
parent f6c8fafc
......@@ -85,8 +85,9 @@ bool DiffEditorDocument::save(QString *errorString, const QString &fileName, boo
if (!ok)
return false;
if (m_controller->reloader())
m_controller->setReloader(0);
m_controller->setReloader(0);
m_controller->setDescription(QString());
m_controller->setDescriptionEnabled(false);
DiffEditorManager::removeDocument(this);
const QFileInfo fi(fileName);
......
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