Fixed color preset zero issue.

half-duplex
Elliott Liggett 2022-11-24 11:43:27 -08:00
rodzic e1e9167622
commit afcf087a70
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -1217,6 +1217,7 @@ void wfmain::setUIToPrefs()
}
ui->colorPresetCombo->setCurrentIndex(prefs.currentColorPresetNumber);
loadColorPresetToUIandPlots(prefs.currentColorPresetNumber);
ui->wfthemeCombo->setCurrentIndex(ui->wfthemeCombo->findData(prefs.wftheme));
colorMap->setGradient(static_cast<QCPColorGradient::GradientPreset>(prefs.wftheme));