summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorNeoBrainX <NeoBrainX@gmail.com>2013-09-08 21:03:24 +0200
committerNeoBrainX <NeoBrainX@gmail.com>2013-09-08 21:04:03 +0200
commit3db2108dbb93c42b3b68faa3b45add5dabf90db3 (patch)
tree5c993ae96cb21889ef4d06e0dc51e3913a3a9cd3 /Source/Core
parent92c846de458150d516ce623147e1c8ff0bbb6551 (diff)
Add two buttons to the ISOProperties dialog so that we still meet string freeze deadline.
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/DolphinWX/Src/ISOProperties.cpp10
1 files changed, 10 insertions, 0 deletions
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")));