summaryrefslogtreecommitdiff
path: root/gtk2_ardour/time_axis_view.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2015-05-27 19:34:04 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2015-05-27 19:34:11 -0400
commit9c6a821c67139a32b531501e0fd000ec19c89faf (patch)
tree97928ee3adf381d7a2ba8a8a5a32c23399b2053e /gtk2_ardour/time_axis_view.h
parent2d311979e34df75ad048f0f7d25b1698e21b11bc (diff)
prevent crash when using WM close button on "new route name contains bad chars" dialog.
The dialog would be created twice, once because the user hit enter etc. to indicate they were done editing, and once because focus left the name text entry, also indicate the end of editing. We now note that we're already processing the end of a name edit, and do nothing in that case
Diffstat (limited to 'gtk2_ardour/time_axis_view.h')
-rw-r--r--gtk2_ardour/time_axis_view.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk2_ardour/time_axis_view.h b/gtk2_ardour/time_axis_view.h
index baeeb2a92a..1eb193590c 100644
--- a/gtk2_ardour/time_axis_view.h
+++ b/gtk2_ardour/time_axis_view.h
@@ -259,6 +259,7 @@ class TimeAxisView : public virtual AxisView
bool name_entry_focus_out (GdkEventFocus *ev);
Gtk::Entry* name_entry;
+ bool ending_name_edit;
void begin_name_edit ();
void end_name_edit (int);