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
5b5a33d0
Commit
5b5a33d0
authored
Dec 01, 2010
by
con
Browse files
When using splits e.g. the save action was disabled sometimes.
Reviewed-by: mae
parent
2e193da3
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/coreplugin/editormanager/editormanager.cpp
View file @
5b5a33d0
...
...
@@ -2051,6 +2051,7 @@ Core::IEditor *EditorManager::duplicateEditor(Core::IEditor *editor)
IEditor
*
duplicate
=
editor
->
duplicate
(
0
);
duplicate
->
restoreState
(
editor
->
saveState
());
connect
(
duplicate
,
SIGNAL
(
changed
()),
this
,
SLOT
(
updateActions
()));
emit
editorCreated
(
duplicate
,
duplicate
->
file
()
->
fileName
());
addEditor
(
duplicate
,
true
);
return
duplicate
;
...
...
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