forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/11.0'
Change-Id: Ibe5040142ca38fed77ffed163212baf22592e392
This commit is contained in:
@@ -843,7 +843,7 @@ bool TextDocument::reload(QString *errorString, const FilePath &realFilePath)
|
||||
auto documentLayout =
|
||||
qobject_cast<TextDocumentLayout*>(d->m_document.documentLayout());
|
||||
if (documentLayout)
|
||||
documentLayout->documentAboutToReload(); // removes text marks non-permanently
|
||||
documentLayout->documentAboutToReload(this); // removes text marks non-permanently
|
||||
|
||||
bool success = openImpl(errorString, filePath(), realFilePath, /*reload =*/true)
|
||||
== OpenResult::Success;
|
||||
|
||||
Reference in New Issue
Block a user