commit
7040a5b390
|
@ -250,10 +250,12 @@ function startProcess() {
|
||||||
|
|
||||||
const tab = tabClass.substring(4);
|
const tab = tabClass.substring(4);
|
||||||
const tabName = $(self).text();
|
const tabName = $(self).text();
|
||||||
|
let timeout = 0;
|
||||||
|
|
||||||
if (GUI.active_tab === 'pid_tuning') {
|
if (GUI.active_tab === 'pid_tuning') {
|
||||||
if (TABS.pid_tuning.retainConfiguration) {
|
if (TABS.pid_tuning.retainConfiguration) {
|
||||||
TABS.pid_tuning.restoreInitialSettings();
|
TABS.pid_tuning.restoreInitialSettings();
|
||||||
|
timeout = 100;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -399,7 +401,8 @@ function startProcess() {
|
||||||
TABS.onboard_logging.initialize(content_ready);
|
TABS.onboard_logging.initialize(content_ready);
|
||||||
break;
|
break;
|
||||||
case 'cli':
|
case 'cli':
|
||||||
TABS.cli.initialize(content_ready, GUI.nwGui);
|
// Add a little timeout to let MSP comands finish
|
||||||
|
GUI.timeout_add('wait_for_msp_finished', () => TABS.cli.initialize(content_ready, GUI.nwGui), timeout);
|
||||||
break;
|
break;
|
||||||
case 'presets':
|
case 'presets':
|
||||||
TABS.presets.initialize(content_ready, GUI.nwGui);
|
TABS.presets.initialize(content_ready, GUI.nwGui);
|
||||||
|
|
Loading…
Reference in New Issue