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
639338b3
Commit
639338b3
authored
Mar 19, 2010
by
con
Browse files
Fixes: Save as... didn't put the new file to the watches.
parent
1c6d62aa
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/coreplugin/filemanager.cpp
View file @
639338b3
...
...
@@ -340,7 +340,7 @@ void FileManager::checkForNewFileName()
const
QString
&
fileName
=
fixFileName
(
file
->
fileName
());
// check if the IFile is in the map
if
(
d
->
m_states
[
fileName
]
.
lastUpdatedState
.
contains
(
file
))
{
if
(
d
->
m_states
.
value
(
fileName
)
.
lastUpdatedState
.
contains
(
file
))
{
// Should checkForNewFileName also call updateFileInfo if the name didn't change?
updateFileInfo
(
file
);
return
;
...
...
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