forked from qt-creator/qt-creator
CppEditor: Follow Symbol Under Cursor opens the preprocessor dialog
... when invoked on a macro that is defined inside that dialog. Change-Id: I419c6675d70cfb8dd174f6a33f502b4c584baa3a Reviewed-by: David Schulz <david.schulz@digia.com>
This commit is contained in:
@@ -138,7 +138,8 @@ void SnapshotUpdater::update(CppModelManager::WorkingCopy workingCopy)
|
||||
workingCopy.insert(configurationFileName, m_configFile);
|
||||
m_snapshot.remove(m_fileInEditor);
|
||||
|
||||
static const QString editorDefinesFileName = QLatin1String("<per-editor-defines>");
|
||||
static const QString editorDefinesFileName
|
||||
= CppModelManagerInterface::editorConfigurationFileName();
|
||||
if (editorDefinesChanged) {
|
||||
m_snapshot.remove(editorDefinesFileName);
|
||||
workingCopy.insert(editorDefinesFileName, m_editorDefines);
|
||||
|
||||
Reference in New Issue
Block a user