diff options
| author | MerryMage <MerryMage@users.noreply.github.com> | 2017-06-10 16:40:10 +0100 |
|---|---|---|
| committer | MerryMage <MerryMage@users.noreply.github.com> | 2017-06-10 16:40:10 +0100 |
| commit | 12e9ce47f60262bb1d2531d78379b87ec7a4516b (patch) | |
| tree | 0b0af0ffdb83e358d85ab75d9995b2e31532d0a6 | |
| parent | b841f796f9b091190cb6b97b5f06bf9250c255dd (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.cpp | 2 |
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); |
