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
Tobias Hunger
qt-creator
Commits
a05ba6fd
Commit
a05ba6fd
authored
Feb 05, 2010
by
Robert Loehning
Browse files
Fixed updating of actions when closing last editor.
Reviewed-by: Thorbjørn Lindeijer
parent
acda1c57
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/coreplugin/editormanager/editormanager.cpp
View file @
a05ba6fd
...
...
@@ -460,11 +460,7 @@ void EditorManager::handleContextChange(Core::IContext *context)
if
(
debugEditorManager
)
qDebug
()
<<
Q_FUNC_INFO
;
IEditor
*
editor
=
context
?
qobject_cast
<
IEditor
*>
(
context
)
:
0
;
if
(
editor
)
{
setCurrentEditor
(
editor
);
}
else
{
updateActions
();
}
setCurrentEditor
(
editor
);
}
void
EditorManager
::
setCurrentEditor
(
IEditor
*
editor
,
bool
ignoreNavigationHistory
)
...
...
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