Update exam_mode_controller.cpp

This commit is contained in:
redgl0w
2020-01-10 20:06:05 +01:00
committed by GitHub
parent c89fe21f5d
commit 4824ad61fc

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();