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:
parent
66be061449
commit
6998cb1f13
@ -7122,7 +7122,7 @@ void
|
|||||||
Editor::lock ()
|
Editor::lock ()
|
||||||
{
|
{
|
||||||
if (!lock_dialog) {
|
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")));
|
Gtk::Image* padlock = manage (new Gtk::Image (::get_icon ("padlock_closed")));
|
||||||
lock_dialog->get_vbox()->pack_start (*padlock);
|
lock_dialog->get_vbox()->pack_start (*padlock);
|
||||||
|
Loading…
Reference in New Issue
Block a user