Skip to content
Snippets Groups Projects
Commit 1ce60cb3 authored by jkobus's avatar jkobus Committed by Jarek Kobus
Browse files

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
No related branches found
No related tags found
No related merge requests found
...@@ -85,8 +85,9 @@ bool DiffEditorDocument::save(QString *errorString, const QString &fileName, boo ...@@ -85,8 +85,9 @@ bool DiffEditorDocument::save(QString *errorString, const QString &fileName, boo
if (!ok) if (!ok)
return false; 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); DiffEditorManager::removeDocument(this);
const QFileInfo fi(fileName); const QFileInfo fi(fileName);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment