~tomasgroth/openlp/portable-path

« back to all changes in this revision

Viewing changes to openlp/plugins/bibles/forms/editbibleform.py

  • Committer: Tomas Groth
  • Date: 2019-04-30 19:02:42 UTC
  • mfrom: (2829.2.32 openlp)
  • Revision ID: tomasgroth@yahoo.dk-20190430190242-6zwjk8724tyux70m
trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
###############################################################################
5
5
# OpenLP - Open Source Lyrics Projection                                      #
6
6
# --------------------------------------------------------------------------- #
7
 
# Copyright (c) 2008-2018 OpenLP Developers                                   #
 
7
# Copyright (c) 2008-2019 OpenLP Developers                                   #
8
8
# --------------------------------------------------------------------------- #
9
9
# This program is free software; you can redistribute it and/or modify it     #
10
10
# under the terms of the GNU General Public License as published by the Free  #
30
30
from openlp.core.lib.ui import critical_error_message_box
31
31
from openlp.plugins.bibles.lib import BibleStrings
32
32
from openlp.plugins.bibles.lib.db import BiblesResourcesDB
 
33
 
33
34
from .editbibledialog import Ui_EditBibleDialog
34
35
 
 
36
 
35
37
log = logging.getLogger(__name__)
36
38
 
37
39
 
49
51
                                            QtCore.Qt.WindowCloseButtonHint)
50
52
        self.media_item = media_item
51
53
        self.book_names = BibleStrings().BookNames
52
 
        self.setupUi(self)
 
54
        self.setup_ui(self)
53
55
        self.manager = manager
54
56
 
55
57
    def load_bible(self, bible):