diff --git a/src/meshlabplugins/edit_pickpoints/pickpointsDialog.cpp b/src/meshlabplugins/edit_pickpoints/pickpointsDialog.cpp index 6ddc86c5a..2c0e7e172 100644 --- a/src/meshlabplugins/edit_pickpoints/pickpointsDialog.cpp +++ b/src/meshlabplugins/edit_pickpoints/pickpointsDialog.cpp @@ -205,7 +205,14 @@ PickPointsDialog::PickPointsDialog(EditPickPointsPlugin *plugin, //signals and slots connect(ui.removePointButton, SIGNAL(clicked()), this, SLOT(removeHighlightedPoint())); + + //rename when rename button clicked connect(ui.renamePointButton, SIGNAL(clicked()), this, SLOT(renameHighlightedPoint())); + + //rename on double click of point + connect(ui.pickedPointsTreeWidget, SIGNAL(itemDoubleClicked(QTreeWidgetItem *, int)), + this, SLOT(renameHighlightedPoint() ) ); + connect(ui.clearPointButton, SIGNAL(clicked()), this, SLOT(clearHighlightedPoint())); connect(ui.pickPointModeRadioButton, SIGNAL(toggled(bool)), this, SLOT(togglePickMode(bool)) ); connect(ui.movePointRadioButton, SIGNAL(toggled(bool)), this, SLOT(toggleMoveMode(bool)) );