mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 10:44:09 -04:00
Tag editor: Fix regression in previous release that caused double clicking on tags to not work on non Linux platforms
This commit is contained in:
parent
07b4239634
commit
41045fc367
@ -103,8 +103,11 @@ class TagEditor(QDialog, Ui_TagEditor):
|
||||
connect_lambda(ibox.textChanged, self, lambda self: self.edit_box_changed(self.sender().objectName()))
|
||||
getattr(self, gprefs.get('tag_editor_last_filter', 'add_tag_input')).setFocus()
|
||||
|
||||
self.available_tags.setEditTriggers(QAbstractItemView.EditTrigger.NoEditTriggers)
|
||||
self.applied_tags.setEditTriggers(QAbstractItemView.EditTrigger.NoEditTriggers)
|
||||
if islinux:
|
||||
self.available_tags.doubleClicked.connect(self.apply_tags)
|
||||
self.applied_tags.doubleClicked.connect(self.unapply_tags)
|
||||
else:
|
||||
self.available_tags.activated.connect(self.apply_tags)
|
||||
self.applied_tags.activated.connect(self.unapply_tags)
|
||||
|
Loading…
x
Reference in New Issue
Block a user