Fix deprecated implicit conversion from float to int using __int__()
This commit is contained in:
parent
42942a521e
commit
d7aca8845f
@ -608,7 +608,7 @@ body {{ zoom: {zoom}; background: {background}; direction: {lang_dir}; {font} }}
|
||||
mw.progress.timer(1000, mw.reset, False)
|
||||
return
|
||||
|
||||
self.setFixedHeight(qvar)
|
||||
self.setFixedHeight(int(qvar))
|
||||
|
||||
def set_bridge_command(self, func: Callable[[str], Any], context: Any) -> None:
|
||||
"""Set a handler for pycmd() messages received from Javascript.
|
||||
|
Loading…
Reference in New Issue
Block a user