diff --git a/RedPandaIDE/widgets/ojproblempropertywidget.cpp b/RedPandaIDE/widgets/ojproblempropertywidget.cpp index dc8425d7..e0a1e4c8 100644 --- a/RedPandaIDE/widgets/ojproblempropertywidget.cpp +++ b/RedPandaIDE/widgets/ojproblempropertywidget.cpp @@ -32,6 +32,7 @@ OJProblemPropertyWidget::OJProblemPropertyWidget(QWidget *parent) : ui->cbMemoryLimitUnit->addItem(tr("KB")); ui->cbMemoryLimitUnit->addItem(tr("MB")); ui->cbMemoryLimitUnit->addItem(tr("GB")); + ui->txtDescription->setFocus(); } OJProblemPropertyWidget::~OJProblemPropertyWidget()