adjust behavior of msg filtering

This commit is contained in:
Martin Rotter 2021-09-20 07:20:36 +02:00
parent d93b9a7ccb
commit 15b00e5e21
2 changed files with 2 additions and 2 deletions

View file

@ -26,7 +26,7 @@
<url type="donation">https://github.com/sponsors/martinrotter</url> <url type="donation">https://github.com/sponsors/martinrotter</url>
<content_rating type="oars-1.1" /> <content_rating type="oars-1.1" />
<releases> <releases>
<release version="4.0.2" date="2021-09-17"/> <release version="4.0.2" date="2021-09-20"/>
</releases> </releases>
<content_rating type="oars-1.0"> <content_rating type="oars-1.0">
<content_attribute id="violence-cartoon">none</content_attribute> <content_attribute id="violence-cartoon">none</content_attribute>

View file

@ -168,5 +168,5 @@ QStringList MessagesToolBar::savedActions() const {
void MessagesToolBar::onSearchPatternChanged(const QString& search_pattern) { void MessagesToolBar::onSearchPatternChanged(const QString& search_pattern) {
m_searchPattern = search_pattern; m_searchPattern = search_pattern;
m_tmrSearchPattern->start(700ms); m_tmrSearchPattern->start(search_pattern.isEmpty() ? 0ms : 300ms);
} }