clear search field when reopening settings

This commit is contained in:
fourtf
2019-10-07 17:30:47 +02:00
parent 0c1da59564
commit 05bcf22af4
2 changed files with 6 additions and 0 deletions
+5
View File
@@ -285,6 +285,11 @@ void SettingsDialog::themeChangedEvent()
this->setPalette(palette);
}
void SettingsDialog::showEvent(QShowEvent *)
{
this->ui_.search->setText("");
}
///// Widget creation helpers
void SettingsDialog::onOkClicked()
{