Fix crash when opening meta-data search
This commit is contained in:
parent
1e45722ea1
commit
9d704ffc27
|
@ -163,7 +163,7 @@ void DbQueryWidget::insertSearchTermsFromTagEdit(TagEdit *tagEdit)
|
||||||
}
|
}
|
||||||
|
|
||||||
// refresh automatically if enabled and something has changed
|
// refresh automatically if enabled and something has changed
|
||||||
if (somethingChanged && m_refreshAutomaticallyAction->isChecked()) {
|
if (somethingChanged && m_refreshAutomaticallyAction && m_refreshAutomaticallyAction->isChecked()) {
|
||||||
m_lastSearchAction->trigger();
|
m_lastSearchAction->trigger();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue