Show iso filename in title of properties window
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1342 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
c541f3c335
commit
bebd135b7d
|
@ -34,6 +34,7 @@ struct ARListCode {
|
||||||
std::vector<std::string> ops;
|
std::vector<std::string> ops;
|
||||||
u32 uiIndex;
|
u32 uiIndex;
|
||||||
};
|
};
|
||||||
|
|
||||||
std::vector<ARListCode> ARCodes;
|
std::vector<ARListCode> ARCodes;
|
||||||
|
|
||||||
BEGIN_EVENT_TABLE(CISOProperties, wxDialog)
|
BEGIN_EVENT_TABLE(CISOProperties, wxDialog)
|
||||||
|
@ -129,7 +130,9 @@ CISOProperties::CISOProperties(const std::string fileName, wxWindow* parent, wxW
|
||||||
CreateDirectoryTree(RootId, beginning, end, pos, (char *)"\\");
|
CreateDirectoryTree(RootId, beginning, end, pos, (char *)"\\");
|
||||||
m_Treectrl->Expand(RootId);
|
m_Treectrl->Expand(RootId);
|
||||||
|
|
||||||
SetTitle(wxString::Format(_("Properties: %s - %s"), OpenISO_.GetUniqueID().c_str(), OpenISO_.GetName().c_str()));
|
std::string filename, extension;
|
||||||
|
SplitPath(fileName, 0, &filename, &extension);
|
||||||
|
SetTitle(wxString::Format(_("%s%s: %s - %s"), filename.c_str(), extension.c_str(), OpenISO_.GetUniqueID().c_str(), OpenISO_.GetName().c_str()));
|
||||||
}
|
}
|
||||||
|
|
||||||
CISOProperties::~CISOProperties()
|
CISOProperties::~CISOProperties()
|
||||||
|
|
Loading…
Reference in New Issue