forked from teamnwah/openmw-tes3coop
subviews now get destroyed on close
This commit is contained in:
parent
70ee899691
commit
f212f0e4d2
1 changed files with 1 additions and 0 deletions
|
@ -5,6 +5,7 @@ CSVDoc::SubView::SubView (const CSMWorld::UniversalId& id) : mUniversalId (id)
|
|||
/// \todo add a button to the title bar that clones this sub view
|
||||
|
||||
setWindowTitle (QString::fromUtf8 (mUniversalId.toString().c_str()));
|
||||
setAttribute(Qt::WA_DeleteOnClose);
|
||||
}
|
||||
|
||||
CSMWorld::UniversalId CSVDoc::SubView::getUniversalId() const
|
||||
|
|
Loading…
Reference in a new issue