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
c29ef119
Commit
c29ef119
authored
Jun 16, 2010
by
mae
Browse files
Fix Esc handling setFocusToEditor()
Switching modes was broken.
parent
ef55312c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/coreplugin/mainwindow.cpp
View file @
c29ef119
...
...
@@ -838,7 +838,7 @@ void MainWindow::setFocusToEditor()
if
(
IEditor
*
editor
=
m_editorManager
->
currentEditor
())
{
if
(
qApp
->
focusWidget
()
!=
editor
->
widget
())
{
editor
->
widget
()
->
setFocus
();
focusWasMovedToEditor
=
true
;
focusWasMovedToEditor
=
editor
->
widget
()
->
hasFocus
()
;
}
}
...
...
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