From 3db2108dbb93c42b3b68faa3b45add5dabf90db3 Mon Sep 17 00:00:00 2001 From: NeoBrainX Date: Sun, 8 Sep 2013 21:03:24 +0200 Subject: [PATCH] Add two buttons to the ISOProperties dialog so that we still meet string freeze deadline. --- Source/Core/DolphinWX/Src/ISOProperties.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Source/Core/DolphinWX/Src/ISOProperties.cpp b/Source/Core/DolphinWX/Src/ISOProperties.cpp index 81e0e1a732..945257ab88 100644 --- a/Source/Core/DolphinWX/Src/ISOProperties.cpp +++ b/Source/Core/DolphinWX/Src/ISOProperties.cpp @@ -286,6 +286,14 @@ void CISOProperties::CreateGUIControls(bool IsWad) new wxButton(this, ID_EDITCONFIG, _("Edit Config"), wxDefaultPosition, wxDefaultSize); EditConfig->SetToolTip(_("This will let you Manually Edit the INI config file")); + wxButton * const EditConfigDefault = + new wxButton(this, ID_EDITCONFIG, _("Show Defaults"), wxDefaultPosition, wxDefaultSize); + EditConfigDefault->SetToolTip(_("Opens the default (read-only) configuration for this game in an external text editor.")); + + wxButton * const EditConfigLocal = + new wxButton(this, ID_EDITCONFIG, _("Edit Local Overrides"), wxDefaultPosition, wxDefaultSize); + EditConfigLocal->SetToolTip(_("Opens the user specified overrides in an external text editor.")); + // Notebook wxNotebook * const m_Notebook = new wxNotebook(this, ID_NOTEBOOK, wxDefaultPosition, wxDefaultSize); @@ -558,6 +566,8 @@ void CISOProperties::CreateGUIControls(bool IsWad) } wxSizer* sButtons = CreateButtonSizer(wxNO_DEFAULT); + sButtons->Prepend(EditConfigDefault); + sButtons->Prepend(EditConfigLocal); sButtons->Prepend(EditConfig); sButtons->Add(new wxButton(this, wxID_OK, _("Close")));