--- a/src/documentmanager.cpp Mon Apr 10 14:46:36 2023 +0300 +++ b/src/documentmanager.cpp Tue Apr 11 11:11:28 2023 +0300 @@ -364,7 +364,7 @@ for (const QString& line : model->toPlainText().split("\n")) { const opt<ParsedLine> parsed = parse(line); if (parsed.has_value() and std::holds_alternative<LineType1>(*parsed)) { - result.insert(std::get<LineType1>(*parsed).value.name); + result.insert(std::get<LineType1>(*parsed).value.element.name); } } return result;