ソースを参照

Merge commit 'd970d59937f249765a25b9c9a38f63bdc1b06865' into frank

Frank van den Bos 2 ヶ月 前
コミット
5f0b7e03ed
1 ファイル変更2 行追加0 行削除
  1. 2 0
      InABox.Core/Objects/Editors/Utils/EditorTypeUtils.cs

+ 2 - 0
InABox.Core/Objects/Editors/Utils/EditorTypeUtils.cs

@@ -28,6 +28,8 @@ namespace InABox.Core
                 editor = new DoubleEditor();
                 editor = new DoubleEditor();
             else if (type.IsOrdinal())
             else if (type.IsOrdinal())
                 editor = new IntegerEditor();
                 editor = new IntegerEditor();
+            else if (type == typeof(Address))
+                editor = new AddressEditor(false);
             else if (typeof(IPackable).IsAssignableFrom(type))
             else if (typeof(IPackable).IsAssignableFrom(type))
                 editor = new NullEditor();
                 editor = new NullEditor();
             else if(type.IsEnum)
             else if(type.IsEnum)