mirror of https://github.com/keeweb/keeweb
removed unnecessary timeout
parent
7c69c1305f
commit
1557a9a92f
|
@ -147,11 +147,9 @@ function createMainWindow() {
|
|||
mainWindow.openDevTools();
|
||||
}
|
||||
mainWindow.once('ready-to-show', () => {
|
||||
setTimeout(() => {
|
||||
mainWindow.show();
|
||||
ready = true;
|
||||
notifyOpenFile();
|
||||
}, 50);
|
||||
mainWindow.show();
|
||||
ready = true;
|
||||
notifyOpenFile();
|
||||
});
|
||||
mainWindow.webContents.on('context-menu', onContextMenu);
|
||||
mainWindow.on('resize', delaySaveMainWindowPosition);
|
||||
|
|
Loading…
Reference in New Issue