mirror of
https://github.com/bitwarden/browser
synced 2025-12-10 13:23:34 +00:00
Ensure dialog is attached to parent window (#691)
This commit is contained in:
@@ -17,7 +17,7 @@ export class ElectronMainMessagingService implements MessagingService {
|
||||
});
|
||||
|
||||
ipcMain.handle("showMessageBox", (event, options) => {
|
||||
return dialog.showMessageBox(options);
|
||||
return dialog.showMessageBox(this.windowMain.win, options);
|
||||
});
|
||||
|
||||
ipcMain.handle("openContextMenu", (event, options: { menu: RendererMenuItem[] }) => {
|
||||
|
||||
Reference in New Issue
Block a user