diff --git a/qutebrowser/widgets/completion.py b/qutebrowser/widgets/completion.py index 0b45f746c..9cab2641e 100644 --- a/qutebrowser/widgets/completion.py +++ b/qutebrowser/widgets/completion.py @@ -57,6 +57,8 @@ class CompletionView(QTreeView): resize_completion: Emitted when the completion should be resized. """ + # Drawing the item foreground will be done by CompletionItemDelegate, so we + # don't define that in this stylesheet. STYLESHEET = """ QTreeView {{ {font[completion]} @@ -64,11 +66,6 @@ class CompletionView(QTreeView): outline: 0; }} - QTreeView::item:enabled {{ - {color[completion.item.fg]} - {color[completion.item.bg]} - }} - QTreeView::item:disabled {{ {color[completion.category.bg]} border-top: 1px solid {color[completion.category.border.top]}; @@ -81,7 +78,6 @@ class CompletionView(QTreeView): border-bottom: 1px solid {color[completion.item.selected.border.bottom]}; {color[completion.item.selected.bg]} - {color[completion.item.selected.fg]} }} """ COLUMN_WIDTHS = (20, 70, 10)