Qt5->Qt6: Usee key-constants namespace.

part of CURA-8591
This commit is contained in:
Remco Burema 2021-12-29 09:10:19 +01:00
parent 6dc6020217
commit 895488a07b
No known key found for this signature in database
GPG key ID: 215C49431D43F98C
2 changed files with 2 additions and 2 deletions

View file

@ -31,7 +31,7 @@ import numpy
class SupportEraser(Tool):
def __init__(self):
super().__init__()
self._shortcut_key = Qt.Key_E
self._shortcut_key = Qt.Key.Key_E
self._controller = self.getController()
self._selection_pass = None