1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00
This commit is contained in:
Ivan Savenko 2024-08-17 19:46:32 +00:00
parent 40ece7142b
commit 75c727afaa

View File

@ -152,7 +152,7 @@ void CSettingsView::loadSettings()
ui->comboBoxUpscalingFilter->setCurrentIndex(upscalingFilterIndex);
std::string downscalingFilter = settings["video"]["downscalingFilter"].String();
int downscalingFilterIndex = vstd::find_pos(downscalingFilterTypes, upscalingFilter);
int downscalingFilterIndex = vstd::find_pos(downscalingFilterTypes, downscalingFilter);
ui->comboBoxDownscalingFilter->setCurrentIndex(downscalingFilterIndex);
ui->sliderMusicVolume->setValue(settings["general"]["music"].Integer());