mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-18 21:30:38 +01:00
[preferences/exam] Allowed reactivation of exam mode
Settings are not modifiable when reactiving exam mode. Decided to do it like that for consistency with the TI-Nspire CAS models. Should be ok with exam mode specs (at least for france).
This commit is contained in:
@@ -28,6 +28,8 @@ bool ExamModeController::handleEvent(Ion::Events::Event event) {
|
||||
I18n::Message childLabel = m_messageTreeModel->children(selectedRow())->label();
|
||||
if (event == Ion::Events::OK || event == Ion::Events::EXE || event == Ion::Events::Right) {
|
||||
if (GlobalPreferences::sharedGlobalPreferences()->examMode()) {
|
||||
if (childLabel == I18n::Message::ActivateExamMode || childLabel == I18n::Message::ExamModeActive)
|
||||
AppsContainer::sharedAppsContainer()->displayExamModePopUp(true);
|
||||
return true;
|
||||
}
|
||||
if (childLabel == I18n::Message::ActivateExamMode || childLabel == I18n::Message::ExamModeActive) {
|
||||
|
||||
Reference in New Issue
Block a user