Commit 823a2bf2 authored by Andreas Cord-Landwehr's avatar Andreas Cord-Landwehr
Browse files

Merge branch 'release/19.12'

parents 8ec84346 cd5e03f1
......@@ -227,7 +227,7 @@ bool TrainingSession::hasNext() const
if (m_indexUnit < m_actions.count() - 1) {
return true;
}
if (m_actions.constLast()) {
if (!m_actions.isEmpty() && m_actions.constLast()) {
if (m_indexPhrase < m_actions.constLast()->actions().count() - 1) {
return true;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment