Fix Track/Bus dialog name-entry default
authorRobin Gareus <robin@gareus.org>
Sat, 5 Aug 2017 17:11:57 +0000 (19:11 +0200)
committerRobin Gareus <robin@gareus.org>
Sat, 5 Aug 2017 17:11:57 +0000 (19:11 +0200)
Changing the track-type to add changes the name which marked the
name-entry as "edited by user", even though it was Ardour itself
which changed the name.

gtk2_ardour/add_route_dialog.cc

index 4c090afc751e090f8aabc4fb68c261d7dd94c34d..d937172093fe4baf0bdb6df2b3915d05a52b2358 100644 (file)
@@ -282,6 +282,7 @@ AddRouteDialog::maybe_update_name_template_entry ()
                name_template_entry.set_text (VCA::default_name_template());
                break;
        }
+       name_edited_by_user = false;
 }
 
 void