forked from qt-creator/qt-creator
Find: Store flags also in FindToolWindow
The flags are only preserved in history if they are updated via Find::updateFindCompletion. This was called for the find toolbar, but not for Find in Files. Change-Id: I16666cc854aed043bfe01175964a4c415020557c Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
3a09687921
commit
879a7082f8
@@ -269,7 +269,7 @@ void FindToolWindow::acceptAndGetParameters(QString *term, IFindFilter **filter)
|
||||
{
|
||||
QTC_ASSERT(filter, return);
|
||||
*filter = nullptr;
|
||||
Find::updateFindCompletion(m_ui.searchTerm->text());
|
||||
Find::updateFindCompletion(m_ui.searchTerm->text(), Find::findFlags());
|
||||
int index = m_ui.filterList->currentIndex();
|
||||
QString searchTerm = m_ui.searchTerm->text();
|
||||
if (index >= 0)
|
||||
|
Reference in New Issue
Block a user