History

fix delete key doing ctrl + delete in hmd

David Back committed 7 years ago

Commit 1e4a6a71 parent 73cf5111 file · +1 −1Browse files

Showing the changes to interface/src/Menu.cpp (1 of 1 file). Show all

Unified · Split

interface/src/Menu.cpp+1−1
@@ -116,7 +116,7 @@ Menu::Menu() { · 115 unmodified lines
116116 // Edit > Delete
117117 auto deleteAction = addActionToQMenuAndActionHash(editMenu, "Delete", QKeySequence::Delete);
118118 connect(deleteAction, &QAction::triggered, [] {
119− QKeyEvent* keyEvent = new QKeyEvent(QEvent::KeyPress, Qt::Key_Delete, Qt::ControlModifier);
119+ QKeyEvent* keyEvent = new QKeyEvent(QEvent::KeyPress, Qt::Key_Delete, Qt::NoModifier);
120120 QCoreApplication::postEvent(QCoreApplication::instance(), keyEvent);
121121 });
122122

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t