From 30641e20395ac9efbd59d5d67569e4f1203dcb05 Mon Sep 17 00:00:00 2001 From: Michael Becker Date: Sun, 25 Jun 2023 00:26:31 -0400 Subject: [PATCH] add GUID to CodeObjectModel... why? no clue --- .../ObjectModels/SourceCode/CodeObjectModel.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Plugins/UniversalEditor.Plugins.SoftwareDevelopment/ObjectModels/SourceCode/CodeObjectModel.cs b/Plugins/UniversalEditor.Plugins.SoftwareDevelopment/ObjectModels/SourceCode/CodeObjectModel.cs index e3662efd..e1559315 100644 --- a/Plugins/UniversalEditor.Plugins.SoftwareDevelopment/ObjectModels/SourceCode/CodeObjectModel.cs +++ b/Plugins/UniversalEditor.Plugins.SoftwareDevelopment/ObjectModels/SourceCode/CodeObjectModel.cs @@ -19,6 +19,7 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see . +using System; using System.Collections.Generic; using UniversalEditor.ObjectModels.SourceCode.CodeElements; @@ -36,7 +37,7 @@ namespace UniversalEditor.ObjectModels.SourceCode { if (_omr == null) { - _omr = base.MakeReferenceInternal(); + _omr = new ObjectModelReference(GetType(), new Guid("{93049a08-a52c-48da-8ae5-af458839b105}")); _omr.Path = new string[] { "Programming", "Source Code" }; } return _omr;