From 73973bfacc55c39d6b57acf1140e28fa1feb46ba Mon Sep 17 00:00:00 2001 From: Adrien Tétar Date: Sun, 18 Oct 2015 21:28:06 +0200 Subject: glyphCollectionView: Return, not Enter --- Lib/defconQt/glyphCollectionView.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/defconQt') diff --git a/Lib/defconQt/glyphCollectionView.py b/Lib/defconQt/glyphCollectionView.py index 0fdef90..e333ca7 100644 --- a/Lib/defconQt/glyphCollectionView.py +++ b/Lib/defconQt/glyphCollectionView.py @@ -226,7 +226,7 @@ class GlyphCollectionWidget(QWidget): modifiers = event.modifiers() if key in arrowKeys: self._arrowKeyPressEvent(event) - elif key == Qt.Key_Enter: + elif key == Qt.Key_Return: index = self._lastSelectedCell if index is not None and self.doubleClickCallback is not None: # TODO: does it still make sense to call this doubleClickCallback? -- cgit v1.2.3