electron-main: Add a missing break.

This commit is contained in:
Damir Jelić 2019-11-13 15:59:59 +01:00
parent c3c5756c7a
commit 449eca6fb4

View File

@ -262,6 +262,7 @@ ipcMain.on('seshat', async function(ev, payload) {
case 'deleteEventIndex': case 'deleteEventIndex':
await eventIndex.delete(); await eventIndex.delete();
eventIndex = null; eventIndex = null;
break;
case 'isEventIndexEmpty': case 'isEventIndexEmpty':
if (eventIndex === null) ret = true; if (eventIndex === null) ret = true;