summaryrefslogtreecommitdiff
path: root/src/plugins/cpptools/cppfindreferences.cpp
diff options
context:
space:
mode:
authorRoberto Raggi <roberto.raggi@nokia.com>2009-09-29 18:16:13 +0200
committerRoberto Raggi <roberto.raggi@nokia.com>2009-09-29 18:19:36 +0200
commit331effc2fd5e25eae4243c517e0047d864fd94a5 (patch)
tree9f8c3ce003b1732c98d1a68635f4f3a7554e4a30 /src/plugins/cpptools/cppfindreferences.cpp
parent3d62363fee4e9b0416ab9a9f6e36deeffdaea505 (diff)
downloadqt-creator-331effc2fd5e25eae4243c517e0047d864fd94a5.tar.gz
Introduced checkable results.
Diffstat (limited to 'src/plugins/cpptools/cppfindreferences.cpp')
-rw-r--r--src/plugins/cpptools/cppfindreferences.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/cpptools/cppfindreferences.cpp b/src/plugins/cpptools/cppfindreferences.cpp
index 2f6964cbe3..fce5d3451d 100644
--- a/src/plugins/cpptools/cppfindreferences.cpp
+++ b/src/plugins/cpptools/cppfindreferences.cpp
@@ -439,7 +439,9 @@ static void find_helper(QFutureInterface<Core::Utils::FileSearchResult> &future,
void CppFindReferences::findAll(Symbol *symbol)
{
+ const bool wasInReplaceMode = _resultWindow->isShowingReplaceUI();
_resultWindow->clearContents();
+ _resultWindow->setShowReplaceUI(true);
_resultWindow->popup(true);
const Snapshot snapshot = _modelManager->snapshot();