#4796 Summary Plot Template : Add context menu of summary cases

This commit is contained in:
Magne Sjaastad
2019-09-30 07:50:51 +02:00
parent 18e6bec1bf
commit 64e617562d
6 changed files with 159 additions and 12 deletions

View File

@@ -86,6 +86,12 @@ bool RiuTreeViewEventFilter::eventFilter( QObject* obj, QEvent* event )
matches = caf::CmdFeatureManager::instance()->commandFeaturesMatchingKeyboardShortcut(
QKeySequence::Delete );
}
else
{
QKeySequence keySeq( keyEvent->modifiers() + keyEvent->key() );
matches = caf::CmdFeatureManager::instance()->commandFeaturesMatchingKeyboardShortcut( keySeq );
}
for ( caf::CmdFeature* feature : matches )
{