This commit is contained in:
yumoqing 2021-11-03 10:46:07 +08:00
parent 2503a95fc4
commit a1a2545c48

View File

@ -441,7 +441,7 @@ class Blocks(EventDispatcher):
'options': opts
}
def doit(target,add_mode,o,w):
def doit(target:Widget, add_mode:str, o, w:Widget):
if target:
if add_mode == 'replace':
target.clear_widgets()