diff options
Diffstat (limited to 'gtk2_ardour/location_ui.cc')
-rw-r--r-- | gtk2_ardour/location_ui.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gtk2_ardour/location_ui.cc b/gtk2_ardour/location_ui.cc index 0dd6d99d5c..25a7eee1f8 100644 --- a/gtk2_ardour/location_ui.cc +++ b/gtk2_ardour/location_ui.cc @@ -310,7 +310,10 @@ void LocationEditRow::name_entry_changed () { ENSURE_GUI_THREAD (*this, &LocationEditRow::name_entry_changed) - if (i_am_the_modifier || !location) return; + + if (i_am_the_modifier || !location) { + return; + } location->set_name (name_entry.get_text()); } |