mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-29 16:44:13 +08:00
fix
This commit is contained in:
parent
02c213ee9d
commit
e33cf58f5e
@ -921,6 +921,7 @@ class MAINUI:
|
||||
self.translation_ui.isbindedwindow = b
|
||||
self.translation_ui.refreshtooliconsignal.emit()
|
||||
|
||||
@tryprint
|
||||
def __do():
|
||||
if not self.textsource:
|
||||
setandrefresh(False)
|
||||
|
@ -71,7 +71,7 @@ class OCR(baseocr):
|
||||
def end(self):
|
||||
|
||||
wcocr_destroy = self.wcocr.wcocr_destroy
|
||||
wcocr_destroy.argtypes = c_void_p
|
||||
wcocr_destroy.argtypes = (c_void_p,)
|
||||
wcocr_destroy(self.pobj)
|
||||
|
||||
def ocr(self, imagebinary):
|
||||
|
Loading…
x
Reference in New Issue
Block a user