[Summary] Updated Auto Lock Timer according to PRD

[Reviewed] GZharun
This commit is contained in:
nikolay 2014-08-11 13:11:37 +03:00
parent 65035584c9
commit 68b323a1a7
6 changed files with 37 additions and 27 deletions

View file

@ -1183,7 +1183,7 @@ Editor::lock_timeout_callback ()
if( !ARDOUR_UI::instance()->screen_lock_is_allowed() )
return false; // Returning false will effectively disconnect us from the timer callback.
if (delta.tv_sec > ARDOUR_UI::config()->get_auto_lock_timer ())
if (delta.tv_sec >= 60 * ARDOUR_UI::config()->get_auto_lock_timer ())
{
lock ();
/* don't call again. Returning false will effectively