Commit 159802e6 authored by Hugo Beauzee-Luyssen's avatar Hugo Beauzee-Luyssen
Browse files

Adding keyboard shortcut for starting project preview

parent 1d1585f0
......@@ -289,6 +289,8 @@ void MainWindow::initializeDockWidgets( void )
Qt::AllDockWidgetAreas,
QDockWidget::AllDockWidgetFeatures,
Qt::TopDockWidgetArea );
QShortcut* shortcut = new QShortcut( QKeySequence( tr( "Space", "Start preview" ) ), this );
connect( shortcut, SIGNAL( activated() ), m_projectPreview, SLOT( on_pushButtonPlay_clicked() ) );
dockManager->addDockedWidget( UndoStack::getInstance( this ),
tr( "History" ),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment