+ fix bug in MDIView

This commit is contained in:
wmayer
2016-02-24 21:32:30 +01:00
parent 9bc09dcb64
commit 9013e843e8

View File

@@ -84,6 +84,10 @@ void MDIView::deleteSelf()
parent->deleteLater();
else
this->deleteLater();
// detach from document
if (_pcDocument)
onClose();
_pcDocument = 0;
}