summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMerryMage <MerryMage@users.noreply.github.com>2017-06-10 16:40:10 +0100
committerMerryMage <MerryMage@users.noreply.github.com>2017-06-10 16:40:10 +0100
commit12e9ce47f60262bb1d2531d78379b87ec7a4516b (patch)
tree0b0af0ffdb83e358d85ab75d9995b2e31532d0a6
parentb841f796f9b091190cb6b97b5f06bf9250c255dd (diff)
VideoConfigDiag: Refresh VideoConfig before opening configuration dialog
If the video configuration dialog is opened before a game was run, VideoConfig::Refresh was never called.
-rw-r--r--Source/Core/DolphinWX/VideoConfigDiag.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Core/DolphinWX/VideoConfigDiag.cpp b/Source/Core/DolphinWX/VideoConfigDiag.cpp
index 22490e4ad5..687bdf7b33 100644
--- a/Source/Core/DolphinWX/VideoConfigDiag.cpp
+++ b/Source/Core/DolphinWX/VideoConfigDiag.cpp
@@ -375,6 +375,8 @@ VideoConfigDiag::VideoConfigDiag(wxWindow* parent, const std::string& title)
wxGetTranslation(StrToWxStr(title)))),
vconfig(g_Config)
{
+ vconfig.Refresh();
+
Bind(wxEVT_UPDATE_UI, &VideoConfigDiag::OnUpdateUI, this);
wxNotebook* const notebook = new wxNotebook(this, wxID_ANY);