mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#4176 Add keyboard shortcuts to show plot and main window
* Ctrl+Shift+P and Ctrl+Shift+3
This commit is contained in:
@@ -48,5 +48,7 @@ void RicShowPlotWindowFeature::onActionTriggered(bool isChecked)
|
||||
void RicShowPlotWindowFeature::setupActionLook(QAction* actionToSetup)
|
||||
{
|
||||
actionToSetup->setText("Open Plot Window");
|
||||
actionToSetup->setToolTip("Open Plot Window (Ctrl+Shift+P)");
|
||||
actionToSetup->setIcon(QIcon(":/PlotWindow24x24.png"));
|
||||
applyShortcutWithHintToAction(actionToSetup, QKeySequence(tr("Ctrl+Shift+P")));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user