Skip to content

Commit b59536b

Browse files
committed
quick dirty fix Bitmessage#2233: invisible network status peers; part 2
1 parent a24c144 commit b59536b

File tree

2 files changed

+27
-4
lines changed

2 files changed

+27
-4
lines changed

src/bitmessageqt/networkstatus.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -187,12 +187,8 @@ def updateNetworkStatusTab(self, outbound, add, destination):
187187
brush = QtGui.QBrush(QtGui.QColor("yellow"), QtCore.Qt.BrushStyle.SolidPattern)
188188
else:
189189
brush = QtGui.QBrush(QtGui.QColor("green"), QtCore.Qt.BrushStyle.SolidPattern)
190-
# XXX quick darty fix for issue #2233
191-
foreground_brush = QtGui.QBrush(QtGui.QColor("black"), QtCore.Qt.BrushStyle.SolidPattern)
192190
for j in range(1):
193191
self.tableWidgetConnectionCount.item(0, j).setBackground(brush)
194-
# XXX quick darty fix for issue #2233
195-
self.tableWidgetConnectionCount.item(0, j).setForeground(foreground_brush)
196192
self.tableWidgetConnectionCount.item(0, 0).setData(QtCore.Qt.ItemDataRole.UserRole, destination)
197193
self.tableWidgetConnectionCount.item(0, 1).setData(QtCore.Qt.ItemDataRole.UserRole, outbound)
198194
else:

src/bitmessageqt/networkstatus.ui

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,15 @@
5454
</color>
5555
</brush>
5656
</colorrole>
57+
<colorrole role="Text">
58+
<brush brushstyle="SolidPattern">
59+
<color alpha="255">
60+
<red>0</red>
61+
<green>0</green>
62+
<blue>0</blue>
63+
</color>
64+
</brush>
65+
</colorrole>
5766
</active>
5867
<inactive>
5968
<colorrole role="Base">
@@ -65,6 +74,15 @@
6574
</color>
6675
</brush>
6776
</colorrole>
77+
<colorrole role="Text">
78+
<brush brushstyle="SolidPattern">
79+
<color alpha="255">
80+
<red>0</red>
81+
<green>0</green>
82+
<blue>0</blue>
83+
</color>
84+
</brush>
85+
</colorrole>
6886
</inactive>
6987
<disabled>
7088
<colorrole role="Base">
@@ -76,6 +94,15 @@
7694
</color>
7795
</brush>
7896
</colorrole>
97+
<colorrole role="Text">
98+
<brush brushstyle="SolidPattern">
99+
<color alpha="255">
100+
<red>0</red>
101+
<green>0</green>
102+
<blue>0</blue>
103+
</color>
104+
</brush>
105+
</colorrole>
79106
</disabled>
80107
</palette>
81108
</property>

0 commit comments

Comments
 (0)