Properly select song when right-click

This commit is contained in:
An Phan 2017-01-14 22:46:04 +08:00
parent 742967be95
commit 891dc74556
No known key found for this signature in database
GPG key ID: 05536BB4BCDC02A2

View file

@ -410,7 +410,7 @@ export default {
// clear the current selection and select it instead.
if (!rowVm.item.selected) {
this.clearSelection()
rowVm.item.selected = true
this.toggleRow(rowVm)
}
this.$nextTick(() => this.$refs.contextMenu.open(event.pageY, event.pageX))