fix flash menu being unresponsive to commands

This commit is contained in:
Heilig Benedek 2017-11-27 00:24:25 +01:00 committed by Cheng Zhao
parent 85ef42d99e
commit c586806609
5 changed files with 19 additions and 3 deletions

View file

@ -39,6 +39,9 @@ Menu.prototype._init = function () {
const found = this.groupsMap[id].find(item => item.checked) || null
if (!found) v8Util.setHiddenValue(this.groupsMap[id][0], 'checked', true)
}
},
menuClosed: () => {
this.emit('closed')
}
}
}