13
0

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:
Carl Hetherington 2011-10-02 22:16:12 +00:00
parent 1f34e72f16
commit 428e5ae18a

View File

@ -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));