Skip to content
Permalink
Browse files

Fix playlist not updating after reordering

Ref: #2397
  • Loading branch information...
alejx committed Apr 1, 2019
1 parent 36311f9 commit 7e3f6f59b93de8532c519e9b133abbab2f196948
Showing with 5 additions and 5 deletions.
  1. +1 −1 Podfile.lock
  2. +4 −4 iina/PlaylistViewController.swift
@@ -47,4 +47,4 @@ SPEC CHECKSUMS:

PODFILE CHECKSUM: c149e2f5a370325310fa22313fe8c514d0967750

COCOAPODS: 1.6.0
COCOAPODS: 1.6.1
@@ -295,11 +295,11 @@ class PlaylistViewController: NSViewController, NSTableViewDataSource, NSTableVi
}
Logger.log("Playlist Drag & Drop from \(oldIndex) to \(row)")
}
} else {
// Otherwise, could be copy/cut & paste within playlistTableView
return pasteFromPasteboard(tableView, row: row, from: info.draggingPasteboard)
player.postNotification(.iinaPlaylistChanged)
return true
}
return true
// Otherwise, could be copy/cut & paste within playlistTableView
return pasteFromPasteboard(tableView, row: row, from: info.draggingPasteboard)
}

// MARK: - Edit Menu Support

0 comments on commit 7e3f6f5

Please sign in to comment.
You can’t perform that action at this time.