Merge pull request #12741 from Filoppi/fix-load-resampling

Qt: fix 13524 - output resampling mode not loading correctly from ini
This commit is contained in:
Admiral H. Curtiss 2024-04-28 20:30:32 +02:00 committed by GitHub
commit bec6842cbe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -372,7 +372,8 @@ void EnhancementsWidget::LoadSettings()
// Resampling
const OutputResamplingMode output_resampling_mode =
Config::Get(Config::GFX_ENHANCE_OUTPUT_RESAMPLING);
m_output_resampling_combo->setCurrentIndex(static_cast<int>(output_resampling_mode));
m_output_resampling_combo->setCurrentIndex(
m_output_resampling_combo->findData(static_cast<int>(output_resampling_mode)));
m_output_resampling_combo->setEnabled(g_Config.backend_info.bSupportsPostProcessing);