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 @@ def initialize(self, opt_name, colorize=False, help_text=_('Search')):
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()