Zero Inventory().numberOfInventoryLookupsPerformed before update started
because "Inventory lookups per second" is calculated by /2 (for 2 sec)
This commit is contained in:
parent
85cce42de0
commit
3b3e4de9d7
|
@ -46,6 +46,7 @@ class NetworkStatus(QtGui.QWidget, RetranslateMixin):
|
|||
self.timer, QtCore.SIGNAL("timeout()"), self.runEveryTwoSeconds)
|
||||
|
||||
def startUpdate(self):
|
||||
Inventory().numberOfInventoryLookupsPerformed = 0
|
||||
self.runEveryTwoSeconds()
|
||||
self.timer.start(2000) # milliseconds
|
||||
|
||||
|
|
Reference in New Issue
Block a user