@@ -368,7 +368,7 @@ void QgsVertexEditor::updateEditor( QgsLockedFeature *lockedFeature )
368
368
mHintLabel ->setVisible ( false );
369
369
mTableView ->setVisible ( true );
370
370
371
- // connect( mLockedFeature, &QgsLockedFeature::selectionChanged, this, &QgsVertexEditor::updateTableSelection );
371
+ connect ( mLockedFeature , &QgsLockedFeature::selectionChanged, this , &QgsVertexEditor::updateTableSelection );
372
372
}
373
373
else
374
374
{
@@ -395,9 +395,9 @@ void QgsVertexEditor::updateTableSelection()
395
395
selection.select ( mVertexModel ->index ( i, 0 ), mVertexModel ->index ( i, mVertexModel ->columnCount () - 1 ) );
396
396
}
397
397
}
398
- // disconnect( mLockedFeature, &QgsLockedFeature::selectionChanged, this, &QgsVertexEditor::updateTableSelection );
398
+ disconnect ( mLockedFeature , &QgsLockedFeature::selectionChanged, this , &QgsVertexEditor::updateTableSelection );
399
399
mTableView ->selectionModel ()->select ( selection, QItemSelectionModel::ClearAndSelect );
400
- // connect( mLockedFeature, &QgsLockedFeature::selectionChanged, this, &QgsVertexEditor::updateTableSelection );
400
+ connect ( mLockedFeature , &QgsLockedFeature::selectionChanged, this , &QgsVertexEditor::updateTableSelection );
401
401
402
402
if ( firstSelectedRow >= 0 )
403
403
mTableView ->scrollTo ( mVertexModel ->index ( firstSelectedRow, 0 ), QAbstractItemView::PositionAtTop );
0 commit comments