Restore main window on error message

This commit is contained in:
Scott E. Graves
2019-06-04 15:20:34 -05:00
parent 18aa23c5d8
commit 7aa17de4be
5 changed files with 21 additions and 1 deletions

View File

@@ -883,6 +883,15 @@ ipcMain.on(Constants.IPC_Shutdown, () => {
closeApplication();
});
ipcMain.on(Constants.IPC_Show_Window, () => {
setWindowVisibility(true);
});
ipcMain.on(Constants.IPC_Show_Window + '_sync', event => {
setWindowVisibility(true);
event.returnValue = true;
});
ipcMain.on(Constants.IPC_Unmount_Drive, (event, data) => {
clearManualMountDetection(data.StorageType);