Trigger file dialog via dispatch

This commit is contained in:
Jordan Eldredge 2016-07-10 14:40:00 -07:00
parent 6b79eb54dc
commit d24376f57f

View file

@ -133,7 +133,7 @@ module.exports = {
};
this.nodes.eject.onclick = function() {
self.winamp.openFileDialog();
self.winamp.dispatch({type: 'OPEN_FILE_DIALOG'});
};
this.nodes.repeat.onclick = function() {