Gui: do not detach parameter observer from PythonEditor

Parameter observing (including observer deletion) is 100% managed by TextEditor superclass
This commit is contained in:
0penBrain
2022-09-15 17:18:35 +02:00
committed by Chris Hennes
parent 8924e265c0
commit eb546e25d3

View File

@@ -87,7 +87,6 @@ PythonEditor::PythonEditor(QWidget* parent)
/** Destroys the object and frees any allocated resources */
PythonEditor::~PythonEditor()
{
getWindowParameter()->Detach( this );
delete d;
}