use proper title for reference prewview subviews (avoid internal ID)

actorid
Marc Zinnschlag 11 years ago
parent c36dfef972
commit fa042a8aca

@ -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…
Cancel
Save