Add set_text method to updatecallback to allow progress text changes
This commit is contained in:
parent
8fa6fad67a
commit
e7e1976222
@ -76,6 +76,13 @@ class UpdateCallback:
|
|||||||
self.oldtime = 0
|
self.oldtime = 0
|
||||||
self.text = text
|
self.text = text
|
||||||
|
|
||||||
|
def set_text(self, text):
|
||||||
|
"""
|
||||||
|
Set the text.
|
||||||
|
"""
|
||||||
|
self.text = text
|
||||||
|
self.oldval = -1
|
||||||
|
|
||||||
def set_total(self, total):
|
def set_total(self, total):
|
||||||
"""
|
"""
|
||||||
Set the total.
|
Set the total.
|
||||||
|
Loading…
Reference in New Issue
Block a user