Merge pull request #6174 from elpaso/bugfix-17958

[bugfix] Fix crash in node editor
This commit is contained in:
Alessandro Pasotti 2018-01-29 09:04:16 +01:00 committed by GitHub
commit e2fcf704a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 9 deletions

View File

@ -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,

View File

@ -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