From f8b09a27384ed13245d063fd91033c7027b05148 Mon Sep 17 00:00:00 2001 From: kumattau Date: Tue, 23 Nov 2021 03:36:25 +0900 Subject: [PATCH] Change to "Ctrl+F" because PyQt6 doesn't support Modifier + Key --- qtawesome/icon_browser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qtawesome/icon_browser.py b/qtawesome/icon_browser.py index d44e0020..01a95b91 100644 --- a/qtawesome/icon_browser.py +++ b/qtawesome/icon_browser.py @@ -108,7 +108,7 @@ def __init__(self): self._copyIconText, ) QtWidgets.QShortcut( - QtGui.QKeySequence(QtCore.Qt.CTRL + QtCore.Qt.Key_F), + QtGui.QKeySequence("Ctrl+F"), self, self._lineEdit.setFocus, )