From 03b1848b43e7fc1c05da6a33bea0abddbc2829c6 Mon Sep 17 00:00:00 2001 From: Uwe Kindler Date: Mon, 24 Aug 2020 13:25:20 +0200 Subject: [PATCH] Reverted changed --- src/DockAreaWidget.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/DockAreaWidget.cpp b/src/DockAreaWidget.cpp index de18b69..3ee3797 100644 --- a/src/DockAreaWidget.cpp +++ b/src/DockAreaWidget.cpp @@ -100,6 +100,7 @@ public: */ void insertWidget(int index, QWidget* Widget) { + Widget->setParent(nullptr); if (index < 0) { index = m_Widgets.count();