From 151e5a6edc244d13e99cef7f207d7b799353b48f Mon Sep 17 00:00:00 2001 From: Roy Qu Date: Sat, 24 Dec 2022 12:09:28 +0800 Subject: [PATCH] minor change --- RedPandaIDE/widgets/ojproblempropertywidget.cpp | 1 + 1 file changed, 1 insertion(+) 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()