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>
<content_rating type="oars-1.1" />
<releases>
<release version="4.0.2" date="2021-09-17"/>
<release version="4.0.2" date="2021-09-20"/>
</releases>
<content_rating type="oars-1.0">
<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) {
m_searchPattern = search_pattern;
m_tmrSearchPattern->start(700ms);
m_tmrSearchPattern->start(search_pattern.isEmpty() ? 0ms : 300ms);
}