Introduce dialog for long database migrations
This commit is contained in:
parent
30e5051239
commit
750e50812c
8 changed files with 118 additions and 8 deletions
|
@ -68,7 +68,9 @@ function createTrayIcon(getMainWindow, messages) {
|
|||
trayContextMenu = Menu.buildFromTemplate([
|
||||
{
|
||||
id: 'toggleWindowVisibility',
|
||||
label: messages[mainWindow.isVisible() ? 'hide' : 'show'].message,
|
||||
label:
|
||||
messages[mainWindow && mainWindow.isVisible() ? 'hide' : 'show']
|
||||
.message,
|
||||
click: tray.toggleWindowVisibility,
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue