Add 'Ctrl+Alt+O' Shortcut to launch demo instance.
Signed-off-by: jopejoe1 <johannes@joens.email>
This commit is contained in:
parent
5765a1fdf1
commit
777be6a48d
@ -1241,6 +1241,8 @@ void MainWindow::updateToolsMenu()
|
|||||||
QAction *normalLaunchOffline = launchOfflineMenu->addAction(tr("Launch Offline"));
|
QAction *normalLaunchOffline = launchOfflineMenu->addAction(tr("Launch Offline"));
|
||||||
normalLaunchOffline->setShortcut(QKeySequence(tr("Ctrl+Shift+O")));
|
normalLaunchOffline->setShortcut(QKeySequence(tr("Ctrl+Shift+O")));
|
||||||
QAction *normalLaunchDemo = launchDemoMenu->addAction(tr("Launch Demo"));
|
QAction *normalLaunchDemo = launchDemoMenu->addAction(tr("Launch Demo"));
|
||||||
|
normalLaunchDemo->setShortcut(QKeySequence(tr("Ctrl+Alt+O")));
|
||||||
|
|
||||||
if (m_selectedInstance)
|
if (m_selectedInstance)
|
||||||
{
|
{
|
||||||
normalLaunch->setEnabled(m_selectedInstance->canLaunch());
|
normalLaunch->setEnabled(m_selectedInstance->canLaunch());
|
||||||
|
Loading…
Reference in New Issue
Block a user