fix c4be8c2a67
authorRobin Gareus <robin@gareus.org>
Thu, 4 Sep 2014 19:03:07 +0000 (21:03 +0200)
committerRobin Gareus <robin@gareus.org>
Thu, 4 Sep 2014 19:03:07 +0000 (21:03 +0200)
gtk2_ardour/time_axis_view.cc

index 52ca5a53e1f758d037f41aaae851f1c908df0301..a6e9e9eb6639250ee6d777b930757576a1981199 100644 (file)
@@ -785,7 +785,7 @@ TimeAxisView::popup_display_menu (guint32 when)
 void
 TimeAxisView::set_selected (bool yn)
 {
-        if (can_edit_name() && name_entry.get_visible()) {
+        if (can_edit_name() && name_entry && name_entry->get_visible()) {
                 end_name_edit (RESPONSE_CANCEL);
         }