mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-04-01 16:06:43 +00:00
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
|
/// \todo add a button to the title bar that clones this sub view
|
||||||
|
|
||||||
setWindowTitle (QString::fromUtf8 (mUniversalId.toString().c_str()));
|
setWindowTitle (QString::fromUtf8 (mUniversalId.toString().c_str()));
|
||||||
|
setAttribute(Qt::WA_DeleteOnClose);
|
||||||
}
|
}
|
||||||
|
|
||||||
CSMWorld::UniversalId CSVDoc::SubView::getUniversalId() const
|
CSMWorld::UniversalId CSVDoc::SubView::getUniversalId() const
|
||||||
|
|
Loading…
Reference in a new issue