Qt: fix 13524 - output resampling mode not loading correctly from ini

This commit is contained in:
Filoppi 2024-04-27 22:11:45 +03:00
parent e69486d2cb
commit 3815819136
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);