Skip to content
Permalink
Browse files

Minor cleanups

  • Loading branch information
nyalldawson committed May 28, 2018
1 parent 614800c commit 6fd8890c4dbc72e19924eebc45b4e46a400d06b9
Showing with 3 additions and 5 deletions.
  1. +1 −3 src/app/vertextool/qgsvertexeditor.cpp
  2. +2 −2 src/app/vertextool/qgsvertexeditor.h
@@ -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;
};


0 comments on commit 6fd8890

Please sign in to comment.
You can’t perform that action at this time.