Fix crash upon opening game info while verifying
This commit is contained in:
parent
6d356daf1c
commit
9796175826
1 changed files with 3 additions and 3 deletions
|
@ -199,7 +199,7 @@ class GameInfo(QWidget, Ui_GameInfo):
|
|||
elif self.verify_threads.get(self.game.app_name):
|
||||
self.verify_widget.setCurrentIndex(1)
|
||||
self.verify_progress.setValue(
|
||||
self.verify_threads[self.game.app_name].num
|
||||
/ self.verify_threads[self.game.app_name].total
|
||||
* 100
|
||||
int(self.verify_threads[self.game.app_name].num
|
||||
/ self.verify_threads[self.game.app_name].total
|
||||
* 100)
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue