Fix tuning strategy not persisting. duh

meow-7.2.2
Beq 2021-11-11 17:45:24 +00:00
parent 8b0e545540
commit 349bd65e4b
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ BOOL FSFloaterPerformance::postBuild()
if (tgt_panel)
{
tgt_panel->getChild<LLButton>("target_btn")->setCommitCallback(boost::bind(&FSFloaterPerformance::showSelectedPanel, this, mAutoTunePanel));
tgt_panel->getChild<LLComboBox>("FSTuningFPSStrategy")->setCurrentByIndex(gSavedSettings.getU32("FPSTuningFPSStrategy"));
tgt_panel->getChild<LLComboBox>("FSTuningFPSStrategy")->setCurrentByIndex(gSavedSettings.getU32("FSTuningFPSStrategy"));
}
initBackBtn(mNearbyPanel);