check if update is necessary first
This commit is contained in:
parent
f0ba87c28e
commit
0c4f08afdf
|
@ -799,6 +799,7 @@ class DelugeGTK:
|
||||||
iter = self.file_store.get_iter_first()
|
iter = self.file_store.get_iter_first()
|
||||||
for file in new_file_info:
|
for file in new_file_info:
|
||||||
if iter != None:
|
if iter != None:
|
||||||
|
if round(self.file_store.get_value(iter, 4),2) != round(file['progress'],2):
|
||||||
self.file_store.set_value(iter, 4, round(file['progress'],2))
|
self.file_store.set_value(iter, 4, round(file['progress'],2))
|
||||||
iter = self.file_store.iter_next(iter)
|
iter = self.file_store.iter_next(iter)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue