Collapse disabled accounts

This commit is contained in:
mailchuck 2015-10-01 10:18:33 +02:00
parent 02186690ca
commit 6e0e160fb8

View File

@ -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)