From b3c1a283617e9e70db57ce59198c0dc7a3109d70 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 31 Mar 2011 22:40:16 -0600 Subject: [PATCH] Fix #746846 (Calibre dos nut use system color for font) --- src/calibre/gui2/search_box.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/gui2/search_box.py b/src/calibre/gui2/search_box.py index fa3b597636..82173fa0cf 100644 --- a/src/calibre/gui2/search_box.py +++ b/src/calibre/gui2/search_box.py @@ -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()