Skip to content

Commit 65e2fe3

Browse files
committed
prevent follow S from displaying
1 parent 87616bd commit 65e2fe3

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

lltutorwindow.cpp

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1154,14 +1154,13 @@ void LLTutorWindow::updateState(bool isCorrect) {
11541154
userSD[key] = solutionForB().values().join(", ");
11551155
userCAB[sortedGrammar.at(currentRule).second.join(' ')] =
11561156
solutionForB1().values().join(", ");
1157-
userSIG[sortedGrammar.at(currentRule).first] =
1158-
solutionForB2().values().join(", ");
1157+
if (sortedGrammar.at(currentRule).first.toStdString() != ll1.gr_.axiom_) {
1158+
userSIG[sortedGrammar.at(currentRule).first] = solutionForB2().values().join(", ");
1159+
}
11591160
updateProgressPanel();
11601161
currentRule++;
1161-
currentState =
1162-
static_cast<qsizetype>(currentRule) >= sortedGrammar.size()
1163-
? State::C
1164-
: State::B;
1162+
currentState = static_cast<qsizetype>(currentRule) >= sortedGrammar.size() ? State::C
1163+
: State::B;
11651164
} else {
11661165
currentState = State::B1;
11671166
}

0 commit comments

Comments
 (0)