- fix: Crash at startup when current problem in the problem set is connected with source file.
This commit is contained in:
parent
b93dac458a
commit
6736524380
4
NEWS.md
4
NEWS.md
|
@ -1,3 +1,7 @@
|
|||
Red Panda C++ Version 2.22
|
||||
|
||||
- fix: Crash at startup when current problem in the problem set is connected with source file.
|
||||
|
||||
Red Panda C++ Version 2.21
|
||||
|
||||
- change: The option "Check for stack smashing attacks (-fstack-protector)" is turned off by default in the Debug compiler set settings.
|
||||
|
|
|
@ -8,7 +8,7 @@ isEmpty(APP_NAME) {
|
|||
}
|
||||
|
||||
isEmpty(APP_VERSION) {
|
||||
APP_VERSION = 2.21
|
||||
APP_VERSION = 2.22
|
||||
}
|
||||
|
||||
contains(QMAKE_HOST.arch, x86_64):{
|
||||
|
|
|
@ -4034,9 +4034,11 @@ void MainWindow::onProblemSetIndexChanged(const QModelIndex ¤t, const QMod
|
|||
} else {
|
||||
mProblemSet_RemoveProblem->setEnabled(true);
|
||||
POJProblem problem = mOJProblemSetModel.problem(idx.row());
|
||||
if (mFullInitialized) {
|
||||
if (problem && !problem->answerProgram.isEmpty()) {
|
||||
openFile(problem->answerProgram);
|
||||
}
|
||||
}
|
||||
mOJProblemModel.setProblem(problem);
|
||||
updateProblemTitle();
|
||||
if (mOJProblemModel.count()>0) {
|
||||
|
|
|
@ -14,7 +14,7 @@ qsynedit.subdir = libs/qsynedit
|
|||
|
||||
APP_NAME = RedPandaCPP
|
||||
|
||||
APP_VERSION = 2.21
|
||||
APP_VERSION = 2.22
|
||||
|
||||
# Add the dependencies so that the RedPandaIDE project can add the depended programs
|
||||
# into the main app bundle
|
||||
|
|
Loading…
Reference in New Issue