mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
Merge pull request #6174 from elpaso/bugfix-17958
[bugfix] Fix crash in node editor
This commit is contained in:
commit
e2fcf704a7
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user