From d205ccc86a8b503490fc8f7806ddcec33d5ef0a2 Mon Sep 17 00:00:00 2001 From: Robert Loehning <robert.loehning@nokia.com> Date: Mon, 3 May 2010 22:20:30 +0200 Subject: [PATCH] Fixed adding of new file patterns to combo box in advanced find dialog Task-Nr: QTCREATORBUG-1329 --- src/plugins/texteditor/basefilefind.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/texteditor/basefilefind.cpp b/src/plugins/texteditor/basefilefind.cpp index 1e4adf0687c..0210aa7b8cb 100644 --- a/src/plugins/texteditor/basefilefind.cpp +++ b/src/plugins/texteditor/basefilefind.cpp @@ -92,7 +92,7 @@ void BaseFileFind::findAll(const QString &txt, QTextDocument::FindFlags findFlag m_isSearching = true; emit changed(); if (m_filterCombo) - updateComboEntries(m_filterCombo, false); + updateComboEntries(m_filterCombo, true); m_watcher.setFuture(QFuture<FileSearchResult>()); SearchResult *result = m_resultWindow->startNewSearch(); connect(result, SIGNAL(activated(Find::SearchResultItem)), this, SLOT(openEditor(Find::SearchResultItem))); @@ -114,7 +114,7 @@ void BaseFileFind::replaceAll(const QString &txt, QTextDocument::FindFlags findF m_isSearching = true; emit changed(); if (m_filterCombo) - updateComboEntries(m_filterCombo, false); + updateComboEntries(m_filterCombo, true); m_watcher.setFuture(QFuture<FileSearchResult>()); SearchResult *result = m_resultWindow->startNewSearch(SearchResultWindow::SearchAndReplace); connect(result, SIGNAL(activated(Find::SearchResultItem)), this, SLOT(openEditor(Find::SearchResultItem))); -- GitLab