From eb546e25d3f952869e3ec87dca02b58653cb3936 Mon Sep 17 00:00:00 2001 From: 0penBrain <48731257+0penBrain@users.noreply.github.com> Date: Thu, 15 Sep 2022 17:18:35 +0200 Subject: [PATCH] Gui: do not detach parameter observer from PythonEditor Parameter observing (including observer deletion) is 100% managed by TextEditor superclass --- src/Gui/PythonEditor.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Gui/PythonEditor.cpp b/src/Gui/PythonEditor.cpp index 4446deb3e5..0d105c00b1 100644 --- a/src/Gui/PythonEditor.cpp +++ b/src/Gui/PythonEditor.cpp @@ -87,7 +87,6 @@ PythonEditor::PythonEditor(QWidget* parent) /** Destroys the object and frees any allocated resources */ PythonEditor::~PythonEditor() { - getWindowParameter()->Detach( this ); delete d; }