fix button display for paused transfer

This commit is contained in:
Joey Hess 2012-08-10 18:50:21 -04:00
parent 8ba9830653
commit 37eed5d8d0
2 changed files with 6 additions and 3 deletions

View file

@ -52,6 +52,9 @@ transfersDisplay warnNoScript = do
, $(widgetFile "dashboard/transfers")
)
else $(widgetFile "dashboard/transfers")
where
isrunning info = not $
transferPaused info || isNothing (startedTime info)
{- Called by client to get a display of currently in process transfers.
-