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:
parent
27ad23c970
commit
f893a87073
3 changed files with 45 additions and 72 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue