mirror of
https://github.com/OpenMW/openmw.git
synced 2025-03-28 23:36:41 +00:00
use proper title for reference prewview subviews (avoid internal ID)
This commit is contained in:
parent
c36dfef972
commit
fa042a8aca
2 changed files with 3 additions and 1 deletions
|
@ -21,6 +21,8 @@ CSVWorld::PreviewSubView::PreviewSubView (const CSMWorld::UniversalId& id, CSMDo
|
|||
std::string referenceableId =
|
||||
document.getData().getReferences().getRecord (id.getId()).get().mRefID;
|
||||
|
||||
setWindowTitle (("Preview: Reference to " + referenceableId).c_str());
|
||||
|
||||
mScene =
|
||||
new CSVRender::PreviewWidget (document.getData(), referenceableId, id.getId(), this);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue