mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-19 19:14:42 +00:00
Minor improvement in edit_mutualcorrs
When a new correspondence is created, is automatically selected. When a correspondence is deleted, the first is automatically selected.
This commit is contained in:
parent
c744160fbe
commit
f5c43e5cb8
@ -301,6 +301,7 @@ void EditMutualCorrsPlugin::addNewPoint()
|
||||
|
||||
// update dialog
|
||||
mutualcorrsDialog->updateTable();
|
||||
mutualcorrsDialog->ui->tableWidget->selectRow(mutualcorrsDialog->ui->tableWidget->rowCount()-1);
|
||||
glArea->update();
|
||||
}
|
||||
|
||||
@ -324,6 +325,7 @@ void EditMutualCorrsPlugin::deleteCurrentPoint()
|
||||
|
||||
// update dialog
|
||||
mutualcorrsDialog->updateTable();
|
||||
mutualcorrsDialog->ui->tableWidget->selectRow(0);
|
||||
glArea->update();
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user