forked from openlp/openlp
Fix: Bug in editsongform
Fix: Bug in bibleserver import
This commit is contained in:
parent
06f195108a
commit
1027d60635
@ -148,7 +148,7 @@ class Ui_MainWindow(object):
|
|||||||
self.MediaManagerDock.setMinimumWidth(
|
self.MediaManagerDock.setMinimumWidth(
|
||||||
self.settingsmanager.mainwindow_left)
|
self.settingsmanager.mainwindow_left)
|
||||||
self.MediaManagerDock.setObjectName(u'MediaManagerDock')
|
self.MediaManagerDock.setObjectName(u'MediaManagerDock')
|
||||||
self.MediaManagerContents = QtGui.QWidget()
|
self.MediaManagerContents = QtGui.QWidget(MainWindow)
|
||||||
self.MediaManagerContents.setObjectName(u'MediaManagerContents')
|
self.MediaManagerContents.setObjectName(u'MediaManagerContents')
|
||||||
self.MediaManagerLayout = QtGui.QHBoxLayout(self.MediaManagerContents)
|
self.MediaManagerLayout = QtGui.QHBoxLayout(self.MediaManagerContents)
|
||||||
self.MediaManagerLayout.setContentsMargins(0, 2, 0, 0)
|
self.MediaManagerLayout.setContentsMargins(0, 2, 0, 0)
|
||||||
|
@ -284,6 +284,7 @@ class BSExtract(object):
|
|||||||
if not soup:
|
if not soup:
|
||||||
return None
|
return None
|
||||||
Receiver.send_message(u'openlp_process_events')
|
Receiver.send_message(u'openlp_process_events')
|
||||||
|
content = None
|
||||||
try:
|
try:
|
||||||
content = soup.find(u'div', u'content').find(u'div').findAll(u'div')
|
content = soup.find(u'div', u'content').find(u'div').findAll(u'div')
|
||||||
except:
|
except:
|
||||||
|
@ -146,8 +146,7 @@ class Ui_EditSongDialog(object):
|
|||||||
self.AuthorsSelectionComboItem.sizePolicy().hasHeightForWidth())
|
self.AuthorsSelectionComboItem.sizePolicy().hasHeightForWidth())
|
||||||
self.AuthorsSelectionComboItem.setSizePolicy(sizePolicy)
|
self.AuthorsSelectionComboItem.setSizePolicy(sizePolicy)
|
||||||
self.AuthorsSelectionComboItem.setEditable(True)
|
self.AuthorsSelectionComboItem.setEditable(True)
|
||||||
self.AuthorsSelectionComboItem.setInsertPolicy(
|
self.AuthorsSelectionComboItem.setInsertPolicy(QtGui.QComboBox.NoInsert)
|
||||||
QtGui.QComboBox.InsertAlphabetically)
|
|
||||||
self.AuthorsSelectionComboItem.setSizeAdjustPolicy(
|
self.AuthorsSelectionComboItem.setSizeAdjustPolicy(
|
||||||
QtGui.QComboBox.AdjustToMinimumContentsLength)
|
QtGui.QComboBox.AdjustToMinimumContentsLength)
|
||||||
self.AuthorsSelectionComboItem.setMinimumContentsLength(8)
|
self.AuthorsSelectionComboItem.setMinimumContentsLength(8)
|
||||||
@ -224,6 +223,7 @@ class Ui_EditSongDialog(object):
|
|||||||
sizePolicy.setHeightForWidth(
|
sizePolicy.setHeightForWidth(
|
||||||
self.SongTopicCombo.sizePolicy().hasHeightForWidth())
|
self.SongTopicCombo.sizePolicy().hasHeightForWidth())
|
||||||
self.SongTopicCombo.setEditable(True)
|
self.SongTopicCombo.setEditable(True)
|
||||||
|
self.SongTopicCombo.setInsertPolicy(QtGui.QComboBox.NoInsert)
|
||||||
self.SongTopicCombo.setSizePolicy(sizePolicy)
|
self.SongTopicCombo.setSizePolicy(sizePolicy)
|
||||||
self.SongTopicCombo.setObjectName(u'SongTopicCombo')
|
self.SongTopicCombo.setObjectName(u'SongTopicCombo')
|
||||||
self.TopicAddLayout.addWidget(self.SongTopicCombo)
|
self.TopicAddLayout.addWidget(self.SongTopicCombo)
|
||||||
@ -271,6 +271,7 @@ class Ui_EditSongDialog(object):
|
|||||||
sizePolicy.setHeightForWidth(
|
sizePolicy.setHeightForWidth(
|
||||||
self.SongbookCombo.sizePolicy().hasHeightForWidth())
|
self.SongbookCombo.sizePolicy().hasHeightForWidth())
|
||||||
self.SongbookCombo.setEditable(True)
|
self.SongbookCombo.setEditable(True)
|
||||||
|
self.SongbookCombe.setInsertPolicy(QtGui.QComboBox.NoInsert)
|
||||||
self.SongbookCombo.setSizePolicy(sizePolicy)
|
self.SongbookCombo.setSizePolicy(sizePolicy)
|
||||||
self.SongbookCombo.setObjectName(u'SongbookCombo')
|
self.SongbookCombo.setObjectName(u'SongbookCombo')
|
||||||
self.SongbookLayout.addRow(self.SongbookNameLabel, self.SongbookCombo)
|
self.SongbookLayout.addRow(self.SongbookNameLabel, self.SongbookCombo)
|
||||||
@ -315,6 +316,7 @@ class Ui_EditSongDialog(object):
|
|||||||
self.ThemeLayout.setObjectName(u'ThemeLayout')
|
self.ThemeLayout.setObjectName(u'ThemeLayout')
|
||||||
self.ThemeSelectionComboItem = QtGui.QComboBox(self.ThemeGroupBox)
|
self.ThemeSelectionComboItem = QtGui.QComboBox(self.ThemeGroupBox)
|
||||||
self.ThemeSelectionComboItem.setEditable(True)
|
self.ThemeSelectionComboItem.setEditable(True)
|
||||||
|
self.ThemeSelectionComboItem.setInsertPolicy(QtGui.QComboBox.NoInsert)
|
||||||
self.ThemeSelectionComboItem.setObjectName(u'ThemeSelectionComboItem')
|
self.ThemeSelectionComboItem.setObjectName(u'ThemeSelectionComboItem')
|
||||||
self.ThemeLayout.addWidget(self.ThemeSelectionComboItem)
|
self.ThemeLayout.addWidget(self.ThemeSelectionComboItem)
|
||||||
self.ThemeAddButton = QtGui.QPushButton(self.ThemeGroupBox)
|
self.ThemeAddButton = QtGui.QPushButton(self.ThemeGroupBox)
|
||||||
|
Loading…
Reference in New Issue
Block a user