Commit fd32f0c2 authored by Hugo Beauzee-Luyssen's avatar Hugo Beauzee-Luyssen

Adding ctrl+r shortcut to start render

parent b7d0af4e
......@@ -96,6 +96,7 @@ void VLMCSettingsDefault::loadKeyboardShortcutDefaults( const QString& part )
ADD_SHORTCUT( "Save as", "Ctrl+Shift+S" );
ADD_SHORTCUT( "Close project", QKeySequence( QKeySequence::Close ).toString().toLocal8Bit() );
ADD_SHORTCUT( "Import media", "Ctrl+I" );
ADD_SHORTCUT( "Render project", "Ctrl+R" );
return ;
}
......
......@@ -477,6 +477,7 @@ void MainWindow::initializeMenuKeyboardShortcut()
INIT_SHORTCUT( saveAs, "Save as", actionSave_As );
INIT_SHORTCUT( closeProject, "Close project", actionClose_Project );
INIT_SHORTCUT( importProject, "Import media", actionImport );
INIT_SHORTCUT( renderProject, "Render project", actionRender );
}
#undef INIT_SHORTCUT
......@@ -504,6 +505,8 @@ void MainWindow::keyboardShortcutChanged( const QString& name, const QString&
m_ui.actionClose_Project->setShortcut( val );
else if ( name == "Import media" )
m_ui.actionImport->setShortcut( val );
else if ( name == "Render project" )
m_ui.actionRender->setShortcut( val );
else
qWarning() << "Unknown shortcut:" << name;
}
......
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