diff --git a/NEWS.md b/NEWS.md
index 876f384b..9c2e3662 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -29,6 +29,7 @@ Red Panda C++ Version 2.23
- fix: Inherited class/struct members are not correctly shown in the completion suggestions.
- enhancement: Sort symbols by their declaration pos in the Class Browser, if not sort by alpha order.
- fix: Keyword asm is not correctly parsed.
+ - fix: Tips for problem is not correctly displayed.
Red Panda C++ Version 2.22
diff --git a/RedPandaIDE/mainwindow.ui b/RedPandaIDE/mainwindow.ui
index 47eb5d01..6edc5260 100644
--- a/RedPandaIDE/mainwindow.ui
+++ b/RedPandaIDE/mainwindow.ui
@@ -515,7 +515,7 @@
QTabWidget::West
- 0
+ 4
true
@@ -965,7 +965,7 @@
QTabWidget::South
- 2
+ 6
diff --git a/RedPandaIDE/widgets/ojproblemsetmodel.cpp b/RedPandaIDE/widgets/ojproblemsetmodel.cpp
index 04920e0c..8df08beb 100644
--- a/RedPandaIDE/widgets/ojproblemsetmodel.cpp
+++ b/RedPandaIDE/widgets/ojproblemsetmodel.cpp
@@ -456,8 +456,7 @@ QString OJProblemModel::getTooltip()
QString s;
s=QString("%1
").arg(mProblem->name);
if (!mProblem->description.isEmpty())
- s+=QString("%1
")
- .arg(mProblem->description);
+ s+=mProblem->description;
return s;
}