forked from qt-creator/qt-creator
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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user