Commit 2eba3eb0 authored by Mike Kremer's avatar Mike Kremer
Browse files

Fixed crash when switching between logger modes.

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@11934 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 2cec6f87
......@@ -155,13 +155,16 @@ void QtSlideWindow::attachWidget (QWidget *_m)
}
//-----------------------------------------------------------------------------
#include <iostream>
void QtSlideWindow::detachWidget ()
{
setWidget (0);
hide ();
if(mainWidget_) {
mainWidget_->setParent(0);
mainWidget_ = 0;
}
if (dialog_)
{
......
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