diff --git a/Nagstamon/QUI/__init__.py b/Nagstamon/QUI/__init__.py index fe3cef0a..63a4be59 100644 --- a/Nagstamon/QUI/__init__.py +++ b/Nagstamon/QUI/__init__.py @@ -2937,6 +2937,8 @@ def __init__(self, server, parent=None): # start ignoring TLS trouble when button clicked self.button_fix_tls_error.clicked.connect(self.fix_tls_error) + print('highlight color', self.table.palette().highlight().color().setRgb(0,0,0,255)) + self.addWidget(self.table, 1) # as default do not show anything @@ -3237,7 +3239,10 @@ def __init__(self, columncount, rowcount, sort_column, sort_order, server, paren QTreeView::item:hover {margin: 0px; color: white; background-color: dimgrey;} - ''') + QTreeView::item:selected {margin: 0px; + color: white; + background-color: blue;} + ''') # set application font self.set_font() @@ -3324,6 +3329,8 @@ def __init__(self, columncount, rowcount, sort_column, sort_order, server, paren ## display mode - all or only header to display error #self.is_shown = False + + @Slot() def set_font(self): """