Update search after using the qlineedit clear button.
--HG-- branch : develop
This commit is contained in:
parent
758f1caa1b
commit
f22eccf91e
|
@ -1980,7 +1980,7 @@ void TMainWindow::InitWindow()
|
||||||
connect(ui->comboBoxPMSystem, static_cast<void (QComboBox::*)(int)>(&QComboBox::currentIndexChanged), this,
|
connect(ui->comboBoxPMSystem, static_cast<void (QComboBox::*)(int)>(&QComboBox::currentIndexChanged), this,
|
||||||
&TMainWindow::SavePMSystem);
|
&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->toolButtonFindPrevious, &QToolButton::clicked, [=] (){search->FindPrevious();});
|
||||||
connect(ui->toolButtonFindNext, &QToolButton::clicked, [=] (){search->FindNext();});
|
connect(ui->toolButtonFindNext, &QToolButton::clicked, [=] (){search->FindNext();});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user