Skip to content

Commit

Permalink
black
Browse files Browse the repository at this point in the history
  • Loading branch information
borysiasty committed Oct 10, 2024
1 parent 9e36739 commit 7ebb17a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion a00_qpip/ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 7ebb17a

Please sign in to comment.