From 036740b0c8de5a921fcee5af29af416ad5189f31 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 25 Jun 2014 11:34:58 -0400 Subject: [PATCH] check UIConfig variable before restarting lock timeout --- gtk2_ardour/editor_ops.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gtk2_ardour/editor_ops.cc b/gtk2_ardour/editor_ops.cc index 29c119f15c..5e7152adeb 100644 --- a/gtk2_ardour/editor_ops.cc +++ b/gtk2_ardour/editor_ops.cc @@ -7157,6 +7157,7 @@ Editor::unlock () ActionManager::pop_action_state (); #endif - start_lock_event_timing (); - + if (ARDOUR_UI::config()->get_lock_gui_after_seconds()) { + start_lock_event_timing (); + } }