mirror of
https://github.com/283375/arcaea-offline-pyside-ui.git
synced 2025-04-19 09:10:18 +00:00
fix: fixes #1
This commit is contained in:
parent
ecd4ed619e
commit
e1bc52a3ae
@ -87,7 +87,8 @@ class OcrQueue(Ui_OcrQueue, QWidget):
|
|||||||
self.__firstResizeDone = True
|
self.__firstResizeDone = True
|
||||||
|
|
||||||
def ocrStarted(self):
|
def ocrStarted(self):
|
||||||
self.setOcrButtonsEnabled(False)
|
if self.model().rowCount() > 0:
|
||||||
|
self.setOcrButtonsEnabled(False)
|
||||||
|
|
||||||
def updateProgressBarMaximum(self):
|
def updateProgressBarMaximum(self):
|
||||||
self.progressBar.setMaximum(self.model().rowCount())
|
self.progressBar.setMaximum(self.model().rowCount())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user