Skip to content
Permalink
Browse files

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 e2fcf704a760f122151c85de6a056f6d9ea1b81b
Showing with 0 additions and 9 deletions.
  1. +0 −6 src/app/nodetool/qgsnodeeditor.cpp
  2. +0 −3 src/app/nodetool/qgsnodeeditor.h
@@ -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
@@ -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,
@@ -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

0 comments on commit e2fcf70

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