mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-25 07:21:14 +01:00
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;
|
||||
u32 uiIndex;
|
||||
};
|
||||
|
||||
std::vector<ARListCode> ARCodes;
|
||||
|
||||
BEGIN_EVENT_TABLE(CISOProperties, wxDialog)
|
||||
@ -129,7 +130,9 @@ CISOProperties::CISOProperties(const std::string fileName, wxWindow* parent, wxW
|
||||
CreateDirectoryTree(RootId, beginning, end, pos, (char *)"\\");
|
||||
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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user