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
173ae4d6
Commit
173ae4d6
authored
Apr 07, 2009
by
mae
Browse files
small fix to removeAllSplits()
parent
5849db08
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/coreplugin/editormanager/editormanager.cpp
View file @
173ae4d6
...
...
@@ -1811,7 +1811,10 @@ void EditorManager::removeCurrentSplit()
void
EditorManager
::
removeAllSplits
()
{
if
(
!
m_d
->
m_splitter
->
isSplitter
())
return
;
IEditor
*
editor
=
m_d
->
m_currentEditor
;
m_d
->
m_currentEditor
=
0
;
// trigger update below
if
(
editor
&&
m_d
->
m_editorModel
->
isDuplicate
(
editor
))
editor
=
m_d
->
m_editorModel
->
originalForDuplicate
(
editor
);
m_d
->
m_splitter
->
unsplitAll
();
...
...
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