Merge branch 'patch-2' of https://github.com/RedGl0w/epsilon into RedGl0w-patch-2

This commit is contained in:
Quentin Guidée
2020-01-12 01:58:17 +01:00
2 changed files with 4 additions and 1 deletions

View File

@@ -165,4 +165,4 @@ We welcome contributions. For smaller changes just open a pull request straight
## License
NumWorks is a registered trademark. Omega is not affiliated with Numworks. NumWorks Epsilon is released under a [CC BY-NC-SA License](https://creativecommons.org/licenses/by-nc-sa/4.0/legalcode).
NumWorks is a registered trademark. Omega is not affiliated with Numworks. NumWorks Epsilon is released under a [CC BY-NC-SA License](https://creativecommons.org/licenses/by-nc-sa/4.0/legalcode).

View File

@@ -68,6 +68,9 @@ int ExamModeController::reusableCellCount(int type) {
}
void ExamModeController::willDisplayCellForIndex(HighlightCell * cell, int index) {
if(index == 0){
m_examModeCell.setHighlighted(false);
}
Preferences * preferences = Preferences::sharedPreferences();
GenericSubController::willDisplayCellForIndex(cell, index);
I18n::Message thisLabel = m_messageTreeModel->children(index)->label();