Fix #746846 (Calibre dos nut use system color for font)

This commit is contained in:
Kovid Goyal 2011-03-31 22:40:16 -06:00
parent cdd8c44396
commit b3c1a28361

View File

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