From 6998cb1f1388c83680dcce064749e7897da8ba08 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 25 Jun 2014 12:10:56 -0400 Subject: [PATCH] part two of: lock dialog MUST be a Gtk::Dialog so that it does not forward key (or other) events to the Editor --- gtk2_ardour/editor_ops.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk2_ardour/editor_ops.cc b/gtk2_ardour/editor_ops.cc index 5e7152adeb..96f7af7a1b 100644 --- a/gtk2_ardour/editor_ops.cc +++ b/gtk2_ardour/editor_ops.cc @@ -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);