Fix bug Final measurements. Cursor in description field always returns to the

end of string.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2018-02-04 22:14:27 +02:00
parent 55abe25287
commit a9652077d1

View File

@ -699,7 +699,9 @@ void DialogFinalMeasurements::UpdateTree()
{ {
int row = ui->tableWidget->currentRow(); int row = ui->tableWidget->currentRow();
FillFinalMeasurements(); FillFinalMeasurements();
ui->tableWidget->blockSignals(true);
ui->tableWidget->selectRow(row); ui->tableWidget->selectRow(row);
ui->tableWidget->blockSignals(false);
m_search->RefreshList(ui->lineEditFind->text()); m_search->RefreshList(ui->lineEditFind->text());
} }