summaryrefslogtreecommitdiff
path: root/gtk2_ardour/floating_text_entry.h
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2017-07-20 23:41:18 +0200
committerRobin Gareus <robin@gareus.org>2017-07-20 23:41:39 +0200
commitf62c8c664d9e7419e4af2ca39b1767ddbb8fc709 (patch)
treeaaac2d519612bd84e816a0822e6e265f52fc15b7 /gtk2_ardour/floating_text_entry.h
parent2f66899222c35deda928eea4d123abb4aa3af560 (diff)
Fix crash when renaming track to an invalid name
If the "Sorry I cannot do that" dialog is displayed from FloatingTextEntry::use_text(), the entry is still visible and accepts [focus] events. Also the dialog returns focus and multiple idle_delete_self() will be called for an Entry that's already being deleted.
Diffstat (limited to 'gtk2_ardour/floating_text_entry.h')
-rw-r--r--gtk2_ardour/floating_text_entry.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk2_ardour/floating_text_entry.h b/gtk2_ardour/floating_text_entry.h
index d70185a8a6..f52447de16 100644
--- a/gtk2_ardour/floating_text_entry.h
+++ b/gtk2_ardour/floating_text_entry.h
@@ -50,6 +50,7 @@ private:
void changed ();
void populate_popup (Gtk::Menu*);
void idle_delete_self ();
+ void disconect_signals ();
std::list<sigc::connection> _connections;