From 869bc9bb209190d3920e112e89e284c63a93964c Mon Sep 17 00:00:00 2001 From: Tim Bentley Date: Fri, 26 Aug 2011 09:21:27 +0100 Subject: [PATCH] Fix field name --- openlp/plugins/images/lib/imagetab.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/openlp/plugins/images/lib/imagetab.py b/openlp/plugins/images/lib/imagetab.py index 05e998d81..98fbd203f 100644 --- a/openlp/plugins/images/lib/imagetab.py +++ b/openlp/plugins/images/lib/imagetab.py @@ -40,22 +40,22 @@ class ImageTab(SettingsTab): def setupUi(self): self.setObjectName(u'ImagesTab') SettingsTab.setupUi(self) - self.fontGroupBox = QtGui.QGroupBox(self.leftColumn) - self.fontGroupBox.setObjectName(u'FontGroupBox') - self.formLayout = QtGui.QFormLayout(self.fontGroupBox) + self.bgColorGroupBox = QtGui.QGroupBox(self.leftColumn) + self.bgColorGroupBox.setObjectName(u'FontGroupBox') + self.formLayout = QtGui.QFormLayout(self.bgColorGroupBox) self.formLayout.setObjectName(u'FormLayout') self.colorLayout = QtGui.QHBoxLayout() - self.backgroundColorLabel = QtGui.QLabel(self.fontGroupBox) + self.backgroundColorLabel = QtGui.QLabel(self.bgColorGroupBox) self.backgroundColorLabel.setObjectName(u'BackgroundColorLabel') self.colorLayout.addWidget(self.backgroundColorLabel) - self.backgroundColorButton = QtGui.QPushButton(self.fontGroupBox) + self.backgroundColorButton = QtGui.QPushButton(self.bgColorGroupBox) self.backgroundColorButton.setObjectName(u'BackgroundColorButton') self.colorLayout.addWidget(self.backgroundColorButton) self.formLayout.addRow(self.colorLayout) - self.informationLabel = QtGui.QLabel(self.fontGroupBox) + self.informationLabel = QtGui.QLabel(self.bgColorGroupBox) self.informationLabel.setObjectName(u'InformationLabel') self.formLayout.addRow(self.informationLabel) - self.leftLayout.addWidget(self.fontGroupBox) + self.leftLayout.addWidget(self.bgColorGroupBox) self.leftLayout.addStretch() self.rightColumn.setSizePolicy( QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred) @@ -65,7 +65,7 @@ class ImageTab(SettingsTab): QtCore.SIGNAL(u'pressed()'), self.onbackgroundColorButtonClicked) def retranslateUi(self): - self.fontGroupBox.setTitle( + self.bgColorGroupBox.setTitle( translate('ImagesPlugin.ImageTab', 'Background Color')) self.backgroundColorLabel.setText( translate('ImagesPlugin.ImageTab', 'Default Color:'))