From 7ebb17aec9e221eabf74ce81e64df3266e9f99e0 Mon Sep 17 00:00:00 2001 From: Borys Jurgiel Date: Thu, 10 Oct 2024 09:47:54 +0200 Subject: [PATCH] black --- a00_qpip/ui.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/a00_qpip/ui.py b/a00_qpip/ui.py index 0f87817..42ce791 100644 --- a/a00_qpip/ui.py +++ b/a00_qpip/ui.py @@ -82,8 +82,11 @@ def make_error_widget(error_type): self.action_combos[lib] = action_combo # row color (gray out system deps) - row_color = QgsApplication.palette().base().color() if lib.qpip \ + row_color = ( + QgsApplication.palette().base().color() + if lib.qpip else QColor("#aaaaaa") + ) for j in range(0, 5): self.table_widget.item(i, j).setBackground(row_color)