Merge pull request #15085 from wwmayer/issue_15068
Sketcher: Delete key in non-functional in macOS
This commit is contained in:
@@ -120,7 +120,7 @@ bool QGIViewPart::sceneEventFilter(QGraphicsItem *watched, QEvent *event)
|
||||
// which will be processed by QGVPage/QGVNavStyle keypress logic, but not forwarded to
|
||||
// Std_Delete
|
||||
QKeyEvent *keyEvent = static_cast<QKeyEvent*>(event);
|
||||
if (keyEvent->key() == Qt::Key_Delete) {
|
||||
if (keyEvent->matches(QKeySequence::Delete)) {
|
||||
bool success = removeSelectedCosmetic();
|
||||
if (success) {
|
||||
updateView(true);
|
||||
|
||||
Reference in New Issue
Block a user