mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-05 18:43:35 +02:00
When drag & dropping onto the tag browser, set the current node to the one dropped upon.
This commit is contained in:
parent
b1f788a607
commit
97c5b041a3
1 changed files with 1 additions and 0 deletions
|
|
@ -985,6 +985,7 @@ def process_source_node(user_cats, src_parent, src_parent_is_gst,
|
|||
def do_drop_from_library(self, md, action, row, column, parent):
|
||||
idx = parent
|
||||
if idx.isValid():
|
||||
self.tags_view.setCurrentIndex(idx)
|
||||
node = self.data(idx, Qt.UserRole)
|
||||
if node.type == TagTreeItem.TAG:
|
||||
fm = self.db.metadata_for_field(node.tag.category)
|
||||
|
|
|
|||
Loading…
Reference in a new issue