1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-17 17:42:20 +03:00

Clear status text on Update attempt during cooldown.

This commit is contained in:
Jonathan Harris 2015-09-15 18:14:22 +01:00
parent bd6382cd52
commit 4a9d947e6b

View File

@ -237,6 +237,7 @@ class AppWindow:
if not retrying:
if time() < self.holdofftime: # Was invoked by key while in cooldown
self.status['text'] = ''
if play_sound and (self.holdofftime-time()) < companion.holdoff*0.75:
hotkeymgr.play_bad() # Don't play sound in first few seconds to prevent repeats
return