diff --git a/gui/mainwindow.cpp b/gui/mainwindow.cpp index 108e21a97..3fc5d6557 100644 --- a/gui/mainwindow.cpp +++ b/gui/mainwindow.cpp @@ -83,6 +83,7 @@ MainWindow::MainWindow(TranslationHandler* th, QSettings* settings) : // "Filter" toolbar mLineEditFilter = new QLineEdit(mUI.mToolBarFilter); mLineEditFilter->setPlaceholderText(tr("Quick Filter:")); + mLineEditFilter->setClearButtonEnabled(true); mUI.mToolBarFilter->addWidget(mLineEditFilter); connect(mLineEditFilter, SIGNAL(textChanged(const QString&)), mFilterTimer, SLOT(start())); connect(mLineEditFilter, &QLineEdit::returnPressed, this, &MainWindow::filterResults);