Fix window refresh and reloads

This commit is contained in:
Josh Perez 2021-03-05 17:27:07 -05:00
parent c313514f34
commit e3d13f2480
1 changed files with 1 additions and 2 deletions

View File

@ -1486,8 +1486,7 @@ ipc.on('locale-data', event => {
event.returnValue = locale.messages;
});
// Used once to initialize SQL in the renderer process
ipc.once('user-config-key', event => {
ipc.on('user-config-key', event => {
// eslint-disable-next-line no-param-reassign
event.returnValue = userConfig.get('key');
});