Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
3bf1a306
Commit
3bf1a306
authored
Dec 02, 2008
by
dt
Browse files
Fixes: Jump to editor doesn't work, if the output mode is active.
Task: Reported on irc.
parent
00da0ea3
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/projectexplorer/taskwindow.cpp
View file @
3bf1a306
...
...
@@ -35,6 +35,7 @@
#include
<coreplugin/editormanager/editormanager.h>
#include
<coreplugin/actionmanager/actionmanager.h>
#include
<coreplugin/editormanager/editormanager.h>
#include
<coreplugin/coreconstants.h>
#include
<texteditor/itexteditor.h>
#include
<texteditor/basetexteditor.h>
...
...
@@ -316,8 +317,10 @@ void TaskWindow::showTaskInFile(const QModelIndex &index)
if
(
file
.
isEmpty
()
||
line
==
-
1
)
return
;
if
(
QFileInfo
(
file
).
exists
())
if
(
QFileInfo
(
file
).
exists
())
{
TextEditor
::
BaseTextEditor
::
openEditorAt
(
file
,
line
);
Core
::
EditorManager
::
instance
()
->
ensureEditorManagerVisible
();
}
else
m_model
->
setFileNotFound
(
index
,
true
);
m_listview
->
selectionModel
()
->
setCurrentIndex
(
index
,
QItemSelectionModel
::
Select
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment