src/model.h

changeset 383
530d23cd4e97
parent 379
8d88adffb779
--- a/src/model.h	Sat Jun 10 17:26:32 2023 +0300
+++ b/src/model.h	Thu Jun 15 16:18:03 2023 +0300
@@ -203,9 +203,15 @@
 	ModelElement newElement;
 };
 
+struct SelectInModel
+{
+	std::size_t position;
+};
+
 using ModelAction = std::variant<
 	AppendToModel,
 	DeleteFromModel,
-	ModifyModel>;
+	ModifyModel,
+	SelectInModel>;
 
 QString modelElementToString(const ModelElement &element);

mercurial