part two of: lock dialog MUST be a Gtk::Dialog so that it does not forward key (or other) events to the Editor

This commit is contained in:
Paul Davis 2014-06-25 12:10:56 -04:00
parent 66be061449
commit 6998cb1f13
1 changed files with 1 additions and 1 deletions

View File

@ -7122,7 +7122,7 @@ void
Editor::lock ()
{
if (!lock_dialog) {
lock_dialog = new ArdourDialog (string_compose (_("%1: Locked"), PROGRAM_NAME), true);
lock_dialog = new Gtk::Dialog (string_compose (_("%1: Locked"), PROGRAM_NAME), true);
Gtk::Image* padlock = manage (new Gtk::Image (::get_icon ("padlock_closed")));
lock_dialog->get_vbox()->pack_start (*padlock);