projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25dc92b
)
Don't crash when keyeditor is empty
author
Mathias Buhr
<napcode@apparatus.de>
Mon, 28 Mar 2016 18:08:35 +0000
(20:08 +0200)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Wed, 30 Mar 2016 11:29:09 +0000
(07:29 -0400)
gtk2_ardour/keyeditor.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/keyeditor.cc
b/gtk2_ardour/keyeditor.cc
index 8c4aaa191115fa6301a111c3a871b07245eaef48..56044c1c9a2cab2de3d22d50bfad0b6bd5d69efb 100644
(file)
--- a/
gtk2_ardour/keyeditor.cc
+++ b/
gtk2_ardour/keyeditor.cc
@@
-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 ();
+ }
}