Commit 31fe4d93 authored by Frédéric Larue's avatar Frédéric Larue

Focus given to the "name" field when the "New project" dialog pops up.

parent 5cb7329c
......@@ -478,6 +478,8 @@ void UIMainWindow::newProject()
dlg.Add( new UIParamString("name", "Project name", "Name of the new project to create.", "Default project" ) );
onDeclaringNewProjectParameters( dlg.GetParameters() );
dlg.GetParameters().GetString("name")->Widget()->setFocus();
/* */
if( dlg.exec() == QDialog::Accepted )
{
......
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