Fix default value on load.

This commit is contained in:
Quentin Decaunes 2019-06-06 21:44:11 +02:00
parent 1d3124d29b
commit da3e5e9009

View File

@ -4,13 +4,13 @@ ready(function(){
document.isStarting = true; document.isStarting = true;
fixPath(); fixPath();
preFillSettings(); preFillSettings();
displayOptionData();
loadLatestUsedSettings(); loadLatestUsedSettings();
registerRepeaterForAllInput(); registerRepeaterForAllInput();
registerEventListenerForSettingsInput(); registerEventListenerForSettingsInput();
checkForAdminRights(); checkForAdminRights();
displayVersion(); displayVersion();
reApplyPeriodically(require('electron-settings').get('settings.reapply_periodically')); reApplyPeriodically(require('electron-settings').get('settings.reapply_periodically'));
displayOptionData();
if (require('os').platform() === 'win32') { if (require('os').platform() === 'win32') {
recreateShortcut(); recreateShortcut();
} }