Remove mouse focus indicator on Windows in completion view

This commit is contained in:
Florian Bruhin 2014-06-23 21:02:55 +02:00
parent e0d9ab8745
commit 43bcb2a746

View File

@ -74,12 +74,16 @@ class CompletionView(QTreeView):
{color[completion.category.border.bottom]};
}}
QTreeView::item:selected {{
QTreeView::item:selected, QTreeView::item:selected:hover {{
border-top: 1px solid {color[completion.item.selected.border.top]};
border-bottom: 1px solid
{color[completion.item.selected.border.bottom]};
{color[completion.item.selected.bg]}
}}
QTreeView:item::hover {{
border: 0px;
}}
"""
COLUMN_WIDTHS = (20, 70, 10)