PEP Fixes

This commit is contained in:
Phill Ridout 2014-10-24 22:03:49 +01:00
parent 8696482f39
commit 04c6e27ac5
2 changed files with 1 additions and 1 deletions

View File

@ -2,6 +2,7 @@ from PyQt4 import QtCore, QtGui
from openlp.core.common import translate
class ColorButton(QtGui.QPushButton):
"""
Subclasses QPushbutton to create a "Color Chooser" button

View File

@ -66,7 +66,6 @@ class ThemeForm(QtGui.QWizard, Ui_ThemeWizard, RegistryProperties):
self.background_combo_box.currentIndexChanged.connect(self.on_background_combo_box_current_index_changed)
self.gradient_combo_box.currentIndexChanged.connect(self.on_gradient_combo_box_current_index_changed)
self.color_button.colorChanged.connect(self.on_color_button_changed)
#self.color_button.clicked.connect(self.on_color_button_clicked)
self.image_color_button.colorChanged.connect(self.on_image_color_button_changed)
self.gradient_start_button.colorChanged.connect(self.on_gradient_start_button_changed)
self.gradient_end_button.colorChanged.connect(self.on_gradient_end_button_changed)