From 12e9ce47f60262bb1d2531d78379b87ec7a4516b Mon Sep 17 00:00:00 2001 From: MerryMage Date: Sat, 10 Jun 2017 16:40:10 +0100 Subject: [PATCH] VideoConfigDiag: Refresh VideoConfig before opening configuration dialog If the video configuration dialog is opened before a game was run, VideoConfig::Refresh was never called. --- Source/Core/DolphinWX/VideoConfigDiag.cpp | 2 ++ 1 file changed, 2 insertions(+) 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);