check UIConfig variable before restarting lock timeout
authorPaul Davis <paul@linuxaudiosystems.com>
Wed, 25 Jun 2014 15:34:58 +0000 (11:34 -0400)
committerPaul Davis <paul@linuxaudiosystems.com>
Wed, 25 Jun 2014 15:34:58 +0000 (11:34 -0400)
gtk2_ardour/editor_ops.cc

index 29c119f15c9357ce589429e2c9b8f67e256a399d..5e7152adeb8b6cab3e0687078c125ced6a0ff44d 100644 (file)
@@ -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 ();
+       }
 }