From f98287ee163d8f23a8c73b9362bd62ee84023293 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Wed, 1 May 2024 19:03:35 +0300 Subject: [PATCH] Clear the table content without keeping dimensions. --- src/app/tape/tmainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/tape/tmainwindow.cpp b/src/app/tape/tmainwindow.cpp index 372320b8e..cb8b1940f 100644 --- a/src/app/tape/tmainwindow.cpp +++ b/src/app/tape/tmainwindow.cpp @@ -3533,7 +3533,7 @@ void TMainWindow::RefreshData(bool freshCall) void TMainWindow::RefreshTable(bool freshCall) { ui->tableWidget->blockSignals(true); - ui->tableWidget->clearContents(); + ui->tableWidget->setRowCount(0); ShowUnits();