From 0cae712cc47fb25fec507d96dedd0e613e9f7a8e Mon Sep 17 00:00:00 2001 From: Andreas Preikschat Date: Sat, 11 Dec 2010 13:18:35 +0100 Subject: [PATCH] fixed openlp bible importer progress bar --- openlp/plugins/bibles/lib/openlp1.py | 1 + 1 file changed, 1 insertion(+) diff --git a/openlp/plugins/bibles/lib/openlp1.py b/openlp/plugins/bibles/lib/openlp1.py index 7f8a8d17e..ba9476fca 100755 --- a/openlp/plugins/bibles/lib/openlp1.py +++ b/openlp/plugins/bibles/lib/openlp1.py @@ -62,6 +62,7 @@ class OpenLP1Bible(BibleDB): # Create all books. cursor.execute(u'SELECT id, testament_id, name, abbreviation FROM book') books = cursor.fetchall() + self.wizard.importProgressBar.setMaximum(len(books) + 1) for book in books: if self.stop_import_flag: connection.close()