This commit is contained in:
Kovid Goyal 2011-03-31 23:55:39 -06:00
parent b3c1a28361
commit 670bcdc7e9

View File

@ -109,7 +109,7 @@ class SearchBox2(QComboBox): # {{{
def normalize_state(self): def normalize_state(self):
self.setToolTip(self.tool_tip_text) self.setToolTip(self.tool_tip_text)
self.line_edit.setStyleSheet( self.line_edit.setStyleSheet(
'QLineEdit{color:inherit;background-color:%s;}' % self.normal_background) 'QLineEdit{color:none;background-color:%s;}' % self.normal_background)
def text(self): def text(self):
return self.currentText() return self.currentText()