Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #6174 from elpaso/bugfix-17958
[bugfix] Fix crash in node editor
  • Loading branch information
elpaso committed Jan 29, 2018
2 parents aed5090 + 0e2995c commit e2fcf70
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
6 changes: 0 additions & 6 deletions src/app/nodetool/qgsnodeeditor.cpp
Expand Up @@ -68,7 +68,6 @@ QgsNodeEditorModel::QgsNodeEditorModel( QgsVectorLayer *layer, QgsSelectedFeatur
mWidgetFont = parentWidget->font();
}

connect( mSelectedFeature, &QgsSelectedFeature::vertexMapChanged, this, &QgsNodeEditorModel::featureChanged );
}

int QgsNodeEditorModel::rowCount( const QModelIndex &parent ) const
Expand Down Expand Up @@ -273,11 +272,6 @@ bool QgsNodeEditorModel::calcR( int row, double &r, double &minRadius ) const
return true;
}

void QgsNodeEditorModel::featureChanged()
{
//TODO - avoid reset
reset();
}

QgsNodeEditor::QgsNodeEditor(
QgsVectorLayer *layer,
Expand Down
3 changes: 0 additions & 3 deletions src/app/nodetool/qgsnodeeditor.h
Expand Up @@ -64,9 +64,6 @@ class QgsNodeEditorModel : public QAbstractTableModel

bool calcR( int row, double &r, double &minRadius ) const;

private slots:

void featureChanged();
};

class QgsNodeEditor : public QgsDockWidget
Expand Down

0 comments on commit e2fcf70

Please sign in to comment.