summaryrefslogtreecommitdiff
path: root/Assistant/Threads
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-11-24 13:28:34 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-11-24 13:28:34 -0400
commit71819fdbfbf3a35081b5891a552e8da38e5b2769 (patch)
tree4b5b40bd26fa5f2f277d6df373a25ebbd9dd6e4c /Assistant/Threads
parent42b427f6fc711254ac9ff1f047568f3584a406f7 (diff)
show version in upgrade alert
Diffstat (limited to 'Assistant/Threads')
-rw-r--r--Assistant/Threads/Upgrader.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Assistant/Threads/Upgrader.hs b/Assistant/Threads/Upgrader.hs
index 95796be22..f0c47e844 100644
--- a/Assistant/Threads/Upgrader.hs
+++ b/Assistant/Threads/Upgrader.hs
@@ -81,7 +81,7 @@ canUpgrade urgency urlrenderer d = ifM autoUpgradeEnabled
, do
#ifdef WITH_WEBAPP
button <- mkAlertButton True (T.pack "Upgrade") urlrenderer (ConfigStartUpgradeR d)
- void $ addAlert (canUpgradeAlert urgency button)
+ void $ addAlert (canUpgradeAlert urgency (distributionVersion d) button)
#else
noop
#endif