mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
fix: dialog is not defined (#31180)
Corrects the following error in Electron Fiddle: ``` Uncaught Exception: ReferenceError: dialog is not defined ... ```
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// Modules to control application life and create native browser window
|
||||
const { app, BrowserWindow, ipcMain, shell } = require('electron')
|
||||
const { app, BrowserWindow, ipcMain, shell, dialog } = require('electron')
|
||||
const path = require('path')
|
||||
|
||||
let mainWindow;
|
||||
|
||||
Reference in New Issue
Block a user