diff --git a/pcsx2/gui/Panels/GameFixesPanel.cpp b/pcsx2/gui/Panels/GameFixesPanel.cpp index f1d0e87e9b..5c82b579cf 100644 --- a/pcsx2/gui/Panels/GameFixesPanel.cpp +++ b/pcsx2/gui/Panels/GameFixesPanel.cpp @@ -146,6 +146,8 @@ void Panels::GameFixesPanel::EnableStuff( AppConfig* configToUse ) if( !configToUse ) configToUse = g_Conf; for (GamefixId i=GamefixId_FIRST; i < pxEnumEnd; ++i) m_checkbox[i]->Enable(m_check_Enable->GetValue() && !configToUse->EnablePresets); + + Layout(); } void Panels::GameFixesPanel::OnEnable_Toggled( wxCommandEvent& evt ) diff --git a/pcsx2/gui/Panels/SpeedhacksPanel.cpp b/pcsx2/gui/Panels/SpeedhacksPanel.cpp index 2975967b58..b4265eca46 100644 --- a/pcsx2/gui/Panels/SpeedhacksPanel.cpp +++ b/pcsx2/gui/Panels/SpeedhacksPanel.cpp @@ -265,6 +265,11 @@ void Panels::SpeedHacksPanel::EnableStuff( AppConfig* configToUse ) m_check_fastCDVD->Enable(HacksEnabledAndNoPreset); m_check_vuThread->Enable(hacksEnabled); // MTVU is unaffected by presets + + // Layout necessary to ensure changed slider text gets re-aligned properly + // and to properly gray/ungray pxStaticText stuff (I suspect it causes a + // paint event to be sent on Windows) + Layout(); } void Panels::SpeedHacksPanel::AppStatusEvent_OnSettingsApplied() @@ -296,9 +301,6 @@ void Panels::SpeedHacksPanel::ApplyConfigToGui( AppConfig& configToApply, int fl // Then, lock(gray out)/unlock the widgets as necessary. EnableStuff( &configToApply ); - // Layout necessary to ensure changed slider text gets re-aligned properly - Layout(); - //Console.WriteLn("SpeedHacksPanel::ApplyConfigToGui: EnabledPresets: %s", configToApply.EnablePresets?"true":"false"); } diff --git a/pcsx2/gui/Panels/VideoPanel.cpp b/pcsx2/gui/Panels/VideoPanel.cpp index a6f6b55afd..0dc7b8545f 100644 --- a/pcsx2/gui/Panels/VideoPanel.cpp +++ b/pcsx2/gui/Panels/VideoPanel.cpp @@ -358,5 +358,7 @@ void Panels::VideoPanel::ApplyConfigToGui( AppConfig& configToApply, int flags ) m_span->ApplyConfigToGui( configToApply, true ); m_fpan->ApplyConfigToGui( configToApply, true ); } + + Layout(); }