mirror of
https://github.com/fergalmoran/picard.git
synced 2026-02-25 09:03:59 +00:00
Make it only default to unmatched files only for the FileTreeView (to stop accidental mis-drops when working with albums on right-hand pane)
This commit is contained in:
@@ -476,7 +476,7 @@ class BaseTreeView(QtGui.QTreeWidget):
|
||||
# application/picard.album-list
|
||||
albums = data.data("application/picard.album-list")
|
||||
if albums:
|
||||
if target is None:
|
||||
if isinstance(self, FileTreeView) and target is None:
|
||||
target = self.tagger.unmatched_files
|
||||
albums = [self.tagger.load_album(id) for id in str(albums).split("\n")]
|
||||
self.drop_albums(albums, target)
|
||||
|
||||
Reference in New Issue
Block a user