1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-16 04:45:20 +03:00

Prevent changing profiles is settings are not saved

This commit is contained in:
Mark Haslinghuis 2021-10-01 01:26:50 +02:00
parent 27ad23c970
commit f893a87073
No known key found for this signature in database
GPG key ID: 198B0F616296A584
3 changed files with 45 additions and 72 deletions

View file

@ -252,7 +252,7 @@ function startProcess() {
const tabName = $(self).text();
if (GUI.active_tab === 'pid_tuning') {
if (TABS.pid_tuning.sliderRetainPosition || TABS.pid_tuning.sliderRetainMode || TABS.pid_tuning.sliderRetainConfiguration) {
if (TABS.pid_tuning.sliderRetainConfiguration) {
TuningSliders.restoreInitialSettings();
}
}