mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 20:28:56 +00:00
VideoConfigDiag: Refresh VideoConfig before opening configuration dialog
If the video configuration dialog is opened before a game was run, VideoConfig::Refresh was never called.
This commit is contained in:
parent
b841f796f9
commit
12e9ce47f6
1 changed files with 2 additions and 0 deletions
|
@ -375,6 +375,8 @@ VideoConfigDiag::VideoConfigDiag(wxWindow* parent, const std::string& title)
|
||||||
wxGetTranslation(StrToWxStr(title)))),
|
wxGetTranslation(StrToWxStr(title)))),
|
||||||
vconfig(g_Config)
|
vconfig(g_Config)
|
||||||
{
|
{
|
||||||
|
vconfig.Refresh();
|
||||||
|
|
||||||
Bind(wxEVT_UPDATE_UI, &VideoConfigDiag::OnUpdateUI, this);
|
Bind(wxEVT_UPDATE_UI, &VideoConfigDiag::OnUpdateUI, this);
|
||||||
|
|
||||||
wxNotebook* const notebook = new wxNotebook(this, wxID_ANY);
|
wxNotebook* const notebook = new wxNotebook(this, wxID_ANY);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue