All table should not be editable
--HG-- branch : develop
This commit is contained in:
parent
2ecc8b944e
commit
48bf54dfd9
|
@ -177,6 +177,9 @@ void DialogHistory::FillTable()
|
||||||
item->setFlags(item->flags() ^ Qt::ItemIsEditable);
|
item->setFlags(item->flags() ^ Qt::ItemIsEditable);
|
||||||
ui->tableWidget->setItem(currentRow, 1, item);
|
ui->tableWidget->setItem(currentRow, 1, item);
|
||||||
++count;
|
++count;
|
||||||
|
|
||||||
|
item = ui->tableWidget->item(currentRow, 0);
|
||||||
|
item->setFlags(item->flags() ^ Qt::ItemIsEditable);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
ui->tableWidget->setRowCount(count);//Real row count
|
ui->tableWidget->setRowCount(count);//Real row count
|
||||||
|
|
Loading…
Reference in New Issue
Block a user