From c6afb63fb71efb0f8c1e574ef85296747fc64255 Mon Sep 17 00:00:00 2001 From: dismine Date: Tue, 28 Oct 2014 19:20:28 +0200 Subject: [PATCH] Comments. --HG-- branch : develop --- src/app/dialogs/app/dialoghistory.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/dialogs/app/dialoghistory.cpp b/src/app/dialogs/app/dialoghistory.cpp index d0950ed16..983be07fd 100644 --- a/src/app/dialogs/app/dialoghistory.cpp +++ b/src/app/dialogs/app/dialoghistory.cpp @@ -115,7 +115,7 @@ void DialogHistory::cellClicked(int row, int column) //--------------------------------------------------------------------------------------------------------------------- /** - * @brief ChangedCursor changed cursor of input. Cursor show after what record we will insert new object + * @brief ChangedCursor changed cursor of input. Cursor show after which record we will insert new object * @param id id of object */ void DialogHistory::ChangedCursor(quint32 id) @@ -155,7 +155,7 @@ void DialogHistory::FillTable() SCASSERT(history != nullptr); qint32 currentRow = -1; qint32 count = 0; - ui->tableWidget->setRowCount(history->size()); + ui->tableWidget->setRowCount(history->size());//Make row count max possible number for (qint32 i = 0; i< history->size(); ++i) { const VToolRecord tool = history->at(i); @@ -182,7 +182,7 @@ void DialogHistory::FillTable() ++count; } } - ui->tableWidget->setRowCount(count); + ui->tableWidget->setRowCount(count);//Real row count if (history->size()>0) { cursorRow = currentRow;