diff --git a/openlp/core/__init__.py b/openlp/core/__init__.py index f1dfe4846..7bdeaebda 100644 --- a/openlp/core/__init__.py +++ b/openlp/core/__init__.py @@ -124,7 +124,7 @@ class OpenLP(QtGui.QApplication): Settings().setValue(u'general/has run wizard', True) # Correct stylesheet bugs application_stylesheet = u'' - if Settings().value(u'advanced/alternate rows', sys.platform.startswith(u'win')): + if not Settings().value(u'advanced/alternate rows', not sys.platform.startswith(u'win')): base_color = self.palette().color(QtGui.QPalette.Active, QtGui.QPalette.Base) alternate_rows_repair_stylesheet = \ u'QTableWidget, QListWidget, QTreeWidget {alternate-background-color: ' + base_color.name() + ';}\n' diff --git a/openlp/core/ui/advancedtab.py b/openlp/core/ui/advancedtab.py index 4dd0d3588..b50c582d7 100644 --- a/openlp/core/ui/advancedtab.py +++ b/openlp/core/ui/advancedtab.py @@ -342,8 +342,7 @@ class AdvancedTab(SettingsTab): 'OpenLP data files. These files WILL be replaced during a copy.')) self.displayWorkaroundGroupBox.setTitle(translate('OpenLP.AdvancedTab', 'Display Workarounds')) self.x11BypassCheckBox.setText(translate('OpenLP.AdvancedTab','Bypass X11 Window Manager')) - self.alternateRowsCheckBox.setText(translate('OpenLP.AdvancedTab', - 'Disable alternating row colors in lists')) + self.alternateRowsCheckBox.setText(translate('OpenLP.AdvancedTab', 'Enable alternating row colors in lists')) # Slide Limits self.slideGroupBox.setTitle(translate('OpenLP.GeneralTab', 'Service Item Slide Limits')) self.slideLabel.setText(translate('OpenLP.GeneralTab', 'Behavior of next/previous on the last/first slide:')) @@ -390,7 +389,7 @@ class AdvancedTab(SettingsTab): # Fix for bug #936281. # Prevent the dialog displayed by the alternateRowsCheckBox to display. self.alternateRowsCheckBox.blockSignals(True) - self.alternateRowsCheckBox.setChecked(settings.value(u'alternate rows', sys.platform.startswith(u'win'))) + self.alternateRowsCheckBox.setChecked(settings.value(u'alternate rows', not sys.platform.startswith(u'win'))) self.alternateRowsCheckBox.blockSignals(False) self.defaultColor = settings.value(u'default color', u'#ffffff') self.defaultFileEdit.setText(settings.value(u'default image', u':/graphics/openlp-splash-screen.png'))