summaryrefslogtreecommitdiff
path: root/gtk2_ardour/location_ui.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2010-11-12 18:53:15 +0000
committerCarl Hetherington <carl@carlh.net>2010-11-12 18:53:15 +0000
commitaf5bd3df3033c168c4564cb0dd951bc8571d958d (patch)
treea1669af1762f4f83c8f205eae247668a2e0cbdcd /gtk2_ardour/location_ui.cc
parent4527566217563bb524b60c23e925e4ff20aebccb (diff)
Fix update of range marker names. Fixes #3533.
git-svn-id: svn://localhost/ardour2/branches/3.0@8012 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/location_ui.cc')
-rw-r--r--gtk2_ardour/location_ui.cc5
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());
}