diff options
author | Robin Gareus <robin@gareus.org> | 2017-08-22 17:07:42 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-08-22 17:07:42 +0200 |
commit | 201d536ee90b4bd4af1cd8dc609fc6a15fe89a2a (patch) | |
tree | 831c2c3bdd528732ab37b5d49b181ab6987734ab /gtk2_ardour/add_route_dialog.h | |
parent | 28a7e4a3e066d135b149f5e6a87faf5ba2b11e5e (diff) |
Reset RouteDialog: name edited by-user
* after each "Add" operation
* when cleaning the name field
Diffstat (limited to 'gtk2_ardour/add_route_dialog.h')
-rw-r--r-- | gtk2_ardour/add_route_dialog.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk2_ardour/add_route_dialog.h b/gtk2_ardour/add_route_dialog.h index 01807ced6f..9fc0403b76 100644 --- a/gtk2_ardour/add_route_dialog.h +++ b/gtk2_ardour/add_route_dialog.h @@ -86,6 +86,8 @@ public: std::string get_template_path(); + void reset_name_edited () { name_edited_by_user = false; } + private: Gtk::Entry name_template_entry; Gtk::Adjustment routes_adjustment; |