Fix crash when opening meta-data search

This commit is contained in:
Martchus 2023-08-08 23:18:42 +02:00
parent 1e45722ea1
commit 9d704ffc27
1 changed files with 1 additions and 1 deletions

View File

@ -163,7 +163,7 @@ void DbQueryWidget::insertSearchTermsFromTagEdit(TagEdit *tagEdit)
}
// refresh automatically if enabled and something has changed
if (somethingChanged && m_refreshAutomaticallyAction->isChecked()) {
if (somethingChanged && m_refreshAutomaticallyAction && m_refreshAutomaticallyAction->isChecked()) {
m_lastSearchAction->trigger();
}
}