Fix window refresh and reloads
This commit is contained in:
parent
c313514f34
commit
e3d13f2480
1 changed files with 1 additions and 2 deletions
3
main.js
3
main.js
|
@ -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');
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue