Skip to content

Commit e2fcf70

Browse files
authored
Merge pull request #6174 from elpaso/bugfix-17958
[bugfix] Fix crash in node editor
2 parents aed5090 + 0e2995c commit e2fcf70

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

src/app/nodetool/qgsnodeeditor.cpp

-6
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ QgsNodeEditorModel::QgsNodeEditorModel( QgsVectorLayer *layer, QgsSelectedFeatur
6868
mWidgetFont = parentWidget->font();
6969
}
7070

71-
connect( mSelectedFeature, &QgsSelectedFeature::vertexMapChanged, this, &QgsNodeEditorModel::featureChanged );
7271
}
7372

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

276-
void QgsNodeEditorModel::featureChanged()
277-
{
278-
//TODO - avoid reset
279-
reset();
280-
}
281275

282276
QgsNodeEditor::QgsNodeEditor(
283277
QgsVectorLayer *layer,

src/app/nodetool/qgsnodeeditor.h

-3
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,6 @@ class QgsNodeEditorModel : public QAbstractTableModel
6464

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

67-
private slots:
68-
69-
void featureChanged();
7067
};
7168

7269
class QgsNodeEditor : public QgsDockWidget

0 commit comments

Comments
 (0)