+ fix bug in MDIView
This commit is contained in:
parent
63e09bcbc2
commit
52fac57d73
|
@ -84,6 +84,10 @@ void MDIView::deleteSelf()
|
|||
parent->deleteLater();
|
||||
else
|
||||
this->deleteLater();
|
||||
|
||||
// detach from document
|
||||
if (_pcDocument)
|
||||
onClose();
|
||||
_pcDocument = 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user