mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-23 16:25:19 +03:00
added mixer_profile switch detection to refresh
This commit is contained in:
parent
76a09655b5
commit
f4958e4e42
1 changed files with 5 additions and 0 deletions
|
@ -264,6 +264,11 @@ GUI_control.prototype.updateProfileChange = function() {
|
|||
$('#mixerprofilechange').val(CONFIG.mixer_profile);
|
||||
$('#profilechange').val(CONFIG.profile);
|
||||
$('#batteryprofilechange').val(CONFIG.battery_profile);
|
||||
if (this.hasOwnProperty('last_mixer_profile') && this.last_mixer_profile !== CONFIG.mixer_profile) {
|
||||
GUI.log(chrome.i18n.getMessage('loadedMixerProfile', [CONFIG.mixer_profile]));
|
||||
updateActivatedTab();
|
||||
}
|
||||
this.last_mixer_profile = CONFIG.mixer_profile;
|
||||
};
|
||||
|
||||
GUI_control.prototype.fillSelect = function ($element, values, currentValue, unit) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue