mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fix up keyboard shorcut on < Qt 5.10
This commit is contained in:
@@ -116,11 +116,11 @@ void RicPasteSummaryCaseFeature::onActionTriggered(bool isChecked)
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RicPasteSummaryCaseFeature::setupActionLook(QAction* action)
|
||||
void RicPasteSummaryCaseFeature::setupActionLook(QAction* actionToSetup)
|
||||
{
|
||||
action->setText("Paste Summary Case");
|
||||
action->setIcon(QIcon(":/clipboard.png"));
|
||||
action->setShortcut(QKeySequence::Paste);
|
||||
actionToSetup->setText("Paste Summary Case");
|
||||
actionToSetup->setIcon(QIcon(":/clipboard.png"));
|
||||
applyShortcutWithHintToAction(actionToSetup, QKeySequence::Paste);
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user