Clear the table content without keeping dimensions.

This commit is contained in:
Roman Telezhynskyi 2024-05-01 19:03:35 +03:00
parent 00a9082f4e
commit f98287ee16

View file

@ -3533,7 +3533,7 @@ void TMainWindow::RefreshData(bool freshCall)
void TMainWindow::RefreshTable(bool freshCall) void TMainWindow::RefreshTable(bool freshCall)
{ {
ui->tableWidget->blockSignals(true); ui->tableWidget->blockSignals(true);
ui->tableWidget->clearContents(); ui->tableWidget->setRowCount(0);
ShowUnits(); ShowUnits();