diff --git a/src/generate.cpp b/src/generate.cpp index c228a4bd..0931d7d7 100644 --- a/src/generate.cpp +++ b/src/generate.cpp @@ -161,7 +161,7 @@ void SolveSpaceUI::GenerateAll(GenerateType type, bool andFindFree, bool genForB // since all groups after the active group are hidden. for(i = 0; i < SK.groupOrder.n; i++) { Group *g = SK.GetGroup(SK.groupOrder.elem[i]); - if((!g->clean) || (g->solved.how != System::SOLVED_OKAY)) { + if((!g->clean) || !g->IsSolvedOkay()) { first = min(first, i); } if(g->h.v == SS.GW.activeGroup.v) {