Skip to content
GitLab
Menu
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
83c331a7
Commit
83c331a7
authored
Mar 23, 2009
by
mae
Browse files
track modification changes for restored editors (in the open editors model)
parent
f8f5263b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/coreplugin/editormanager/editorview.cpp
View file @
83c331a7
...
...
@@ -132,8 +132,7 @@ void EditorModel::addEntry(const Entry &entry)
if
(
previousIndex
>=
0
)
{
if
(
entry
.
editor
&&
m_editors
.
at
(
previousIndex
).
editor
==
0
)
{
m_editors
[
previousIndex
]
=
entry
;
QModelIndex
mindex
=
index
(
previousIndex
,
0
);
emit
dataChanged
(
mindex
,
mindex
);
connect
(
entry
.
editor
,
SIGNAL
(
changed
()),
this
,
SLOT
(
itemChanged
()));
}
return
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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