Core: Let IDocument also report failed file reload operations

Change-Id: I8fa02f2398f59306c49481316fdedf50a1c4e32f
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
This commit is contained in:
Nikolai Kosjar
2013-06-20 12:49:19 +02:00
parent a043977999
commit 10ff6769ac
7 changed files with 18 additions and 15 deletions

View File

@@ -415,8 +415,7 @@ bool BaseTextDocument::reload(QString *errorString)
if (documentLayout)
documentLayout->documentReloaded(marks); // readds text marks
if (success)
emit reloaded();
emit reloadFinished(success);
return success;
}