ui: Fixed code file content requests in background tabs failing

This commit is contained in:
Eberhard Graether
2018-11-12 16:14:42 +01:00
parent 5d64910083
commit 6490191972
2 changed files with 23 additions and 11 deletions
+4 -2
View File
@@ -141,13 +141,15 @@ void QtCodeFileSingle::requestFileContent(const FilePath& filePath)
m_contentRequested = true;
MessageChangeFileView(
MessageChangeFileView msg(
filePath,
MessageChangeFileView::FILE_MAXIMIZED,
MessageChangeFileView::VIEW_SINGLE,
true,
m_navigator->hasErrors()
).dispatch();
);
msg.setSchedulerId(m_navigator->getSchedulerId());
msg.dispatch();
}
bool QtCodeFileSingle::requestScroll(