File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments