mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-23 23:17:46 +01:00
[Summary] Updated Auto Lock Timer according to PRD
[Reviewed] GZharun
This commit is contained in:
parent
65035584c9
commit
68b323a1a7
6 changed files with 37 additions and 27 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue