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