mirror of
https://github.com/transmission/transmission
synced 2024-12-26 09:37:56 +00:00
(trunk libT) #2907 "Speed Limit mode not retained after relaunch" -- fixed in trunk for 1.91
This commit is contained in:
parent
8a949d0abf
commit
3c936b2849
1 changed files with 5 additions and 7 deletions
|
@ -1180,16 +1180,14 @@ turtleCheckClock( tr_session * session, struct tr_turtle_info * t, tr_bool byUse
|
|||
static void
|
||||
turtleBootstrap( tr_session * session, struct tr_turtle_info * turtle )
|
||||
{
|
||||
tr_bool isEnabled;
|
||||
|
||||
turtleFindNextChange( turtle );
|
||||
|
||||
if( turtle->isClockEnabled )
|
||||
isEnabled = !turtle->_nextChangeValue;
|
||||
else
|
||||
isEnabled = turtle->isEnabled;
|
||||
turtle->changedByUser = FALSE;
|
||||
|
||||
useAltSpeed( session, turtle, isEnabled, FALSE );
|
||||
if( turtle->isClockEnabled )
|
||||
turtle->isEnabled = !turtle->_nextChangeValue;
|
||||
|
||||
altSpeedToggled( session );
|
||||
}
|
||||
|
||||
/***
|
||||
|
|
Loading…
Reference in a new issue