- enhancement: when problem from competitive companion received, activate RedPanda C++ if it's minimized.
- enhancement: when problem from competitive companion received, show the problem and problem set views.
This commit is contained in:
parent
ba23aa93af
commit
7e8f73debd
2
NEWS.md
2
NEWS.md
|
@ -2,6 +2,8 @@ Version 0.8.1 For Dev-C++ 7 Beta
|
|||
- fix: ConsolePaurser.exe only exits when press ENTER
|
||||
- fix: input/output/expected textedit in the problem view shouldn't autowrap lines
|
||||
- fix: Red Panda C++ will freeze when receiving contents from Competitve Companion in chrome/edge
|
||||
- enhancement: when problem from competitive companion received, activate RedPanda C++ if it's minimized.
|
||||
- enhancement: when problem from competitive companion received, show the problem and problem set views.
|
||||
|
||||
Version 0.8 For Dev-C++ 7 Beta
|
||||
- fix: find in the current file is not correcly saved in the search history
|
||||
|
|
|
@ -2743,9 +2743,13 @@ void MainWindow::onNewProblemConnection()
|
|||
problem->cases.append(problemCase);
|
||||
}
|
||||
mOJProblemSetModel.addProblem(problem);
|
||||
if (!ui->lstProblemSet->currentIndex().isValid()) {
|
||||
ui->lstProblemSet->setCurrentIndex(mOJProblemSetModel.index(0,0));
|
||||
}
|
||||
ui->tabInfos->setCurrentWidget(ui->tabProblemSet);
|
||||
ui->lstProblemSet->setCurrentIndex(mOJProblemSetModel.index(
|
||||
mOJProblemSetModel.count()-1
|
||||
,0));
|
||||
showNormal();
|
||||
raise(); // for mac OS?
|
||||
activateWindow();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
#include <QStringList>
|
||||
|
||||
#define DEVCPP_VERSION "beta.0.8.0"
|
||||
#define DEVCPP_VERSION "beta.0.8.1"
|
||||
|
||||
#define APP_SETTSINGS_FILENAME "redpandacpp.ini"
|
||||
#ifdef Q_OS_WIN
|
||||
|
|
Loading…
Reference in New Issue