Merge branch 'fixes-jan2022' into 'master'

Fix another division issue

See merge request openlp/openlp!379
This commit is contained in:
Tim Bentley 2022-01-14 21:41:34 +00:00
commit 645db61b47
1 changed files with 1 additions and 1 deletions

View File

@ -1345,7 +1345,7 @@ class MainWindow(QtWidgets.QMainWindow, Ui_MainWindow, LogMixin, RegistryPropert
:param int increment: The value you to increase the progress bar by.
"""
self.load_progress_bar.setValue(self.load_progress_bar.value() + increment)
self.load_progress_bar.setValue(int(self.load_progress_bar.value() + increment))
self.application.process_events()
def finished_progress_bar(self):