Add 'Ctrl+Alt+O' Shortcut to launch demo instance.

Signed-off-by: jopejoe1 <johannes@joens.email>
This commit is contained in:
jopejoe1 2022-07-13 22:53:36 +02:00 committed by flow
parent 5765a1fdf1
commit 777be6a48d

View File

@ -1241,6 +1241,8 @@ void MainWindow::updateToolsMenu()
QAction *normalLaunchOffline = launchOfflineMenu->addAction(tr("Launch Offline"));
normalLaunchOffline->setShortcut(QKeySequence(tr("Ctrl+Shift+O")));
QAction *normalLaunchDemo = launchDemoMenu->addAction(tr("Launch Demo"));
normalLaunchDemo->setShortcut(QKeySequence(tr("Ctrl+Alt+O")));
if (m_selectedInstance)
{
normalLaunch->setEnabled(m_selectedInstance->canLaunch());