Collapse disabled accounts
This commit is contained in:
parent
a961ad1d84
commit
fd7ed893a7
|
@ -608,6 +608,7 @@ class MyForm(QtGui.QMainWindow):
|
|||
brush = QtGui.QBrush(QApplication.palette().text().color())
|
||||
else:
|
||||
brush = QtGui.QBrush(QtGui.QColor(128, 128, 128))
|
||||
newItem.setExpanded(False)
|
||||
brush.setStyle(QtCore.Qt.NoBrush)
|
||||
newItem.setForeground(0, brush)
|
||||
|
||||
|
|
Reference in New Issue
Block a user