Commit d205ccc8 authored by Robert Loehning's avatar Robert Loehning
Browse files

Fixed adding of new file patterns to combo box in advanced find dialog

Task-Nr: QTCREATORBUG-1329
parent d5cdca00
......@@ -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)));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment