Commit 09c4ba4c authored by Victor Yacovlev's avatar Victor Yacovlev

Fixed crash on change main windows layout

parent f4b18958
......@@ -82,7 +82,7 @@ void SecondaryWindow::changeDockPlace(DockWindowPlace *dockPlace)
dockPlace->registerWindowHere(this);
windowContainer_->setPairedContainer(dock);
QObject* old = dynamic_cast<QObject*>(dockContainer_);
old->deleteLater();
// old->deleteLater();
dockContainer_ = dock;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment