mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-08 06:35:46 +01:00
Don't crash when keyeditor is empty
This commit is contained in:
parent
25dc92b31e
commit
1316e85d41
1 changed files with 4 additions and 1 deletions
|
|
@ -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 ();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue