summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBe <be@mixxx.org>2021-10-17 08:40:41 -0500
committerBe <be@mixxx.org>2021-10-17 08:40:41 -0500
commit3249c18092a3793bc8c017da05e01b2e3e2c4e54 (patch)
tree8c0944e5afad303574336561f7ff30feb935b2a9 /src
parent7e149d1ce84a8c3e219012b38290dd1492962530 (diff)
parentb6b37ac4b81bf1d605cddc6967d516d59486f724 (diff)
Merge remote-tracking branch 'upstream/2.3'
Diffstat (limited to 'src')
-rw-r--r--src/widget/wsearchlineedit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widget/wsearchlineedit.cpp b/src/widget/wsearchlineedit.cpp
index 1fb28ce7b5..d00fdbfb4b 100644
--- a/src/widget/wsearchlineedit.cpp
+++ b/src/widget/wsearchlineedit.cpp
@@ -362,6 +362,7 @@ void WSearchLineEdit::slotDisableSearch() {
return;
}
setTextBlockSignals(kDisabledText);
+ updateClearButton(QString());
setEnabled(false);
}
@@ -487,7 +488,6 @@ void WSearchLineEdit::updateClearButton(const QString& text) {
<< "updateClearButton"
<< text;
#endif // ENABLE_TRACE_LOG
- DEBUG_ASSERT(isEnabled());
if (text.isEmpty()) {
// Disable while placeholder is shown