Skip to content

Commit

Permalink
Update to 1.17.11
Browse files Browse the repository at this point in the history
Fix: Qt6 compatibility - Another enum issue.
  • Loading branch information
davidfor committed Jul 14, 2022
1 parent 26a8456 commit 3b4b25b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion __init__.py
Expand Up @@ -13,7 +13,7 @@ class AnnotationsPlugin(InterfaceActionBase):
description = 'Import annotations'
supported_platforms = ['linux', 'osx', 'windows']
author = 'David Forrester'
version = (1, 17, 10)
version = (1, 17, 11)
minimum_calibre_version = (1, 0, 0)

actual_plugin = 'calibre_plugins.annotations.action:AnnotationsAction'
Expand Down
3 changes: 3 additions & 0 deletions about.txt
@@ -1,4 +1,7 @@
Version history:
1.17.11 - 14 July 2022
• Fix: Qt6 compatibility - Another enum issue.

1.17.10 - 13 July 2022
• Fix: Qt6 compatibility - Another enum issue.
• New: Enable support for import file chooser - thanks to @stbenjam
Expand Down
2 changes: 1 addition & 1 deletion common_utils.py
Expand Up @@ -468,7 +468,7 @@ def __init__(self, type_, title, msg, opts,

self.copy_action = QAction(self)
self.addAction(self.copy_action)
self.copy_action.setShortcuts(QKeySequence.StandardKeys.Copy)
self.copy_action.setShortcuts(QKeySequence.StandardKey.Copy)
self.copy_action.triggered.connect(self.copy_to_clipboard)

self.is_question = type_ == self.QUESTION
Expand Down

0 comments on commit 3b4b25b

Please sign in to comment.