From f22eccf91e20d50cdd8fda28ff83690b36148968 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Fri, 26 Aug 2016 13:27:14 +0300 Subject: [PATCH] Update search after using the qlineedit clear button. --HG-- branch : develop --- src/app/tape/tmainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/tape/tmainwindow.cpp b/src/app/tape/tmainwindow.cpp index 853dc7906..6be39a824 100644 --- a/src/app/tape/tmainwindow.cpp +++ b/src/app/tape/tmainwindow.cpp @@ -1980,7 +1980,7 @@ void TMainWindow::InitWindow() connect(ui->comboBoxPMSystem, static_cast(&QComboBox::currentIndexChanged), this, &TMainWindow::SavePMSystem); - connect(ui->lineEditFind, &QLineEdit::textEdited, [=] (const QString &term){search->Find(term);}); + connect(ui->lineEditFind, &QLineEdit::textChanged, [=] (const QString &term){search->Find(term);}); connect(ui->toolButtonFindPrevious, &QToolButton::clicked, [=] (){search->FindPrevious();}); connect(ui->toolButtonFindNext, &QToolButton::clicked, [=] (){search->FindNext();});