Update an increment details after update from file.
When we update the table after changes in pattern we want also to see change in formula of a current row.
This commit is contained in:
parent
f150428925
commit
7ac93657cb
|
@ -816,6 +816,9 @@ void DialogIncrements::FullUpdateFromFile()
|
|||
{
|
||||
hasChanges = false;
|
||||
|
||||
const int incrementRow = ui->tableWidgetIncrement->currentRow();
|
||||
const int pcRow = ui->tableWidgetPC->currentRow();
|
||||
|
||||
ui->tableWidgetLines->clearContents();
|
||||
ui->tableWidgetSplines->clearContents();
|
||||
ui->tableWidgetAnglesCurves->clearContents();
|
||||
|
@ -835,6 +838,9 @@ void DialogIncrements::FullUpdateFromFile()
|
|||
|
||||
search->RefreshList(ui->lineEditFind->text());
|
||||
searchPC->RefreshList(ui->lineEditFindPC->text());
|
||||
|
||||
ui->tableWidgetIncrement->selectRow(incrementRow);
|
||||
ui->tableWidgetPC->selectRow(pcRow);
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue
Block a user