V0.6 #852
|
@ -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)
|
||||||
|
|
||||||
|
|
Reference in New Issue
Block a user