forked from openlp/openlp
Fix another division issue
This commit is contained in:
parent
ba0d4c3622
commit
2ee161c9ce
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user