13
0

Don't crash when keyeditor is empty

This commit is contained in:
Mathias Buhr 2016-03-28 20:08:35 +02:00 committed by Paul Davis
parent 25dc92b31e
commit 1316e85d41

View File

@ -496,5 +496,8 @@ void
KeyEditor::search_string_updated (const std::string& filter)
{
filter_string = boost::to_lower_copy(filter);
current_tab ()->filter->refilter ();
KeyEditor::Tab* tab = current_tab ();
if (tab) {
tab->filter->refilter ();
}
}