mirror of
https://github.com/bitwarden/browser
synced 2025-12-13 14:53:33 +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) => {
|
ipcMain.handle("showMessageBox", (event, options) => {
|
||||||
return dialog.showMessageBox(options);
|
return dialog.showMessageBox(this.windowMain.win, options);
|
||||||
});
|
});
|
||||||
|
|
||||||
ipcMain.handle("openContextMenu", (event, options: { menu: RendererMenuItem[] }) => {
|
ipcMain.handle("openContextMenu", (event, options: { menu: RendererMenuItem[] }) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user