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.
This commit is contained in:
Robin Gareus 2017-07-20 23:41:18 +02:00
parent 2f66899222
commit f62c8c664d
2 changed files with 37 additions and 10 deletions

View file

@ -50,6 +50,7 @@ private:
void changed ();
void populate_popup (Gtk::Menu*);
void idle_delete_self ();
void disconect_signals ();
std::list<sigc::connection> _connections;