From a52df417c49292dcda0f1d498dc4f8873b79c565 Mon Sep 17 00:00:00 2001
From: Roberto Raggi <roberto.raggi@nokia.com>
Date: Tue, 29 Sep 2009 16:40:32 +0200
Subject: [PATCH] Activate the find references when renaming non local members.

---
 src/plugins/cppeditor/cppeditor.cpp | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/plugins/cppeditor/cppeditor.cpp b/src/plugins/cppeditor/cppeditor.cpp
index 07c892db197..78336077ae8 100644
--- a/src/plugins/cppeditor/cppeditor.cpp
+++ b/src/plugins/cppeditor/cppeditor.cpp
@@ -880,6 +880,9 @@ void CPPEditor::renameSymbolUnderCursor()
             break;
         }
     }
+
+    if (m_renameSelections.isEmpty())
+        findReferences();
 }
 
 void CPPEditor::onContentsChanged(int position, int charsRemoved, int charsAdded)
-- 
GitLab