git-svn-id: svn://db.shs.com.ru/libs@567 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
@@ -156,6 +156,7 @@ Qt::ItemFlags ContainersModel::flags(const QModelIndex & index) const {
|
||||
|
||||
void ContainersModel::setChangesMode(bool yes) {
|
||||
mode_changes = yes;
|
||||
if (typeids.isEmpty()) return;
|
||||
dataChanged(index(0, ccCount), index(typeids.size_s() - 1, columnCount()));
|
||||
emit headerDataChanged(Qt::Horizontal, ccCount, columnCount());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user