mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-15 18:02:12 -05:00
#4176 Enable Del keyboard shortcut for delete commands
This commit is contained in:
1 parent
f066829a0f
commit
9306961df4
16 files changed
+44
-1
No files matched your search
@@ -80,6 +80,10 @@ bool RiuTreeViewEventFilter::eventFilter(QObject *obj, QEvent *event)
|
||||
matches = caf::CmdFeatureManager::instance()->commandFeaturesMatchingSubString("Paste");
|
||||
}
|
||||
}
|
||||
else if (keyEvent->matches(QKeySequence::Delete))
|
||||
{
|
||||
matches = caf::CmdFeatureManager::instance()->commandFeaturesMatchingKeyboardShortcut(QKeySequence::Delete);
|
||||
}
|
||||
|
||||
for (caf::CmdFeature* feature : matches)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user