Fix crash on rename region.
git-svn-id: svn://localhost/ardour2/branches/3.0@10182 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
1f34e72f16
commit
428e5ae18a
@ -2193,7 +2193,7 @@ Editor::rename_region ()
|
|||||||
d.set_size_request (300, -1);
|
d.set_size_request (300, -1);
|
||||||
d.set_position (Gtk::WIN_POS_MOUSE);
|
d.set_position (Gtk::WIN_POS_MOUSE);
|
||||||
|
|
||||||
entry.set_text (selection->regions.front()->region()->name());
|
entry.set_text (rs.front()->region()->name());
|
||||||
entry.select_region (0, -1);
|
entry.select_region (0, -1);
|
||||||
|
|
||||||
entry.signal_activate().connect (sigc::bind (sigc::mem_fun (d, &Dialog::response), RESPONSE_OK));
|
entry.signal_activate().connect (sigc::bind (sigc::mem_fun (d, &Dialog::response), RESPONSE_OK));
|
||||||
|
Loading…
Reference in New Issue
Block a user