@@ -346,7 +346,7 @@ void QgsVertexEditor::updateEditor( QgsLockedFeature *lockedFeature )
346
346
mHintLabel ->setVisible ( false );
347
347
mTableView ->setVisible ( true );
348
348
349
- // connect( mLockedFeature, &QgsLockedFeature::selectionChanged, this, &QgsVertexEditor::updateTableSelection );
349
+ connect ( mLockedFeature , &QgsLockedFeature::selectionChanged, this , &QgsVertexEditor::updateTableSelection );
350
350
}
351
351
else
352
352
{
@@ -373,9 +373,9 @@ void QgsVertexEditor::updateTableSelection()
373
373
selection.select ( mVertexModel ->index ( i, 0 ), mVertexModel ->index ( i, mVertexModel ->columnCount () - 1 ) );
374
374
}
375
375
}
376
- // disconnect( mLockedFeature, &QgsLockedFeature::selectionChanged, this, &QgsVertexEditor::updateTableSelection );
376
+ disconnect ( mLockedFeature , &QgsLockedFeature::selectionChanged, this , &QgsVertexEditor::updateTableSelection );
377
377
mTableView ->selectionModel ()->select ( selection, QItemSelectionModel::ClearAndSelect );
378
- // connect( mLockedFeature, &QgsLockedFeature::selectionChanged, this, &QgsVertexEditor::updateTableSelection );
378
+ connect ( mLockedFeature , &QgsLockedFeature::selectionChanged, this , &QgsVertexEditor::updateTableSelection );
379
379
380
380
if ( firstSelectedRow >= 0 )
381
381
mTableView ->scrollTo ( mVertexModel ->index ( firstSelectedRow, 0 ), QAbstractItemView::PositionAtTop );
0 commit comments