From 0b712134dfda53fe2e193f44b26a768614f88a3b Mon Sep 17 00:00:00 2001 From: Natalia Portillo Date: Mon, 30 Jul 2018 23:20:32 +0100 Subject: [PATCH] Separate data loading from constructor. --- CICMMetadataEditor/CICMMetadataEditor/dlgMetadata.xeto.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CICMMetadataEditor/CICMMetadataEditor/dlgMetadata.xeto.cs b/CICMMetadataEditor/CICMMetadataEditor/dlgMetadata.xeto.cs index 2196e97..402d628 100644 --- a/CICMMetadataEditor/CICMMetadataEditor/dlgMetadata.xeto.cs +++ b/CICMMetadataEditor/CICMMetadataEditor/dlgMetadata.xeto.cs @@ -79,6 +79,11 @@ namespace CICMMetadataEditor { XamlReader.Load(this); + LoadData(); + } + + void LoadData() + { Modified = false; cmbReleaseType = new EnumDropDown();