mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-01 00:46:20 -05:00
Minor cleanups
This commit is contained in:
parent
614800c918
commit
6fd8890c4d
@ -278,8 +278,6 @@ QgsVertexEditor::QgsVertexEditor(
|
||||
QgsSelectedFeature *selectedFeature,
|
||||
QgsMapCanvas *canvas )
|
||||
: mCanvas( canvas )
|
||||
, mUpdatingTableSelection( false )
|
||||
, mUpdatingVertexSelection( false )
|
||||
{
|
||||
setWindowTitle( tr( "Vertex Editor" ) );
|
||||
mTableView = new QTableView( this );
|
||||
@ -309,7 +307,7 @@ void QgsVertexEditor::updateEditor( QgsVectorLayer *layer, QgsSelectedFeature *s
|
||||
mLayer = layer;
|
||||
mSelectedFeature = selectedFeature;
|
||||
|
||||
// TOOD We really should just update the model itself.
|
||||
// TODO We really should just update the model itself.
|
||||
mVertexModel = new QgsVertexEditorModel( mLayer, mSelectedFeature, mCanvas, this );
|
||||
mTableView->setModel( mVertexModel );
|
||||
|
||||
|
@ -97,8 +97,8 @@ class QgsVertexEditor : public QgsDockWidget
|
||||
|
||||
private:
|
||||
|
||||
bool mUpdatingTableSelection;
|
||||
bool mUpdatingVertexSelection;
|
||||
bool mUpdatingTableSelection = false;
|
||||
bool mUpdatingVertexSelection = false;
|
||||
};
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user