diff --git a/Content/UniversalEditor.Content.PlatformIndependent/Editors/RIFF/Dialogs/RIFFChunkPropertiesDialog.glade b/Content/UniversalEditor.Content.PlatformIndependent/Editors/RIFF/Dialogs/RIFFChunkPropertiesDialog.glade
index 0fd3602b..c0eaa040 100644
--- a/Content/UniversalEditor.Content.PlatformIndependent/Editors/RIFF/Dialogs/RIFFChunkPropertiesDialog.glade
+++ b/Content/UniversalEditor.Content.PlatformIndependent/Editors/RIFF/Dialogs/RIFFChunkPropertiesDialog.glade
@@ -16,6 +16,29 @@
+
True
@@ -134,9 +160,11 @@
-
@@ -218,6 +248,7 @@
True
False
+ True
tmChunkTypeIDs
True
0
@@ -237,6 +268,7 @@
True
True
+ True
1
@@ -257,27 +289,4 @@
button1
-
-
-
-
-
-
-
- RIFF
-
-
- RIFX
-
-
- FORM
-
-
- LIST
-
-
- CAT
-
-
-
diff --git a/Libraries/UniversalEditor.UserInterface/Editors/RIFF/Dialogs/RIFFChunkPropertiesDialog.cs b/Libraries/UniversalEditor.UserInterface/Editors/RIFF/Dialogs/RIFFChunkPropertiesDialog.cs
index aab23c97..f6e1cde7 100644
--- a/Libraries/UniversalEditor.UserInterface/Editors/RIFF/Dialogs/RIFFChunkPropertiesDialog.cs
+++ b/Libraries/UniversalEditor.UserInterface/Editors/RIFF/Dialogs/RIFFChunkPropertiesDialog.cs
@@ -37,6 +37,7 @@ namespace UniversalEditor.Editors.RIFF.Dialogs
private Label lblGroupID;
private ComboBox cboTypeID;
private HexEditorControl hexData;
+ private Disclosure dscData;
public RIFFChunk Chunk { get; set; } = null;
@@ -48,6 +49,7 @@ namespace UniversalEditor.Editors.RIFF.Dialogs
Buttons[0].ResponseValue = (int)DialogResult.None;
Buttons[0].Click += cmdOK_Click;
+ DefaultButton = Buttons[0];
if (Chunk != null)
{
@@ -93,12 +95,14 @@ namespace UniversalEditor.Editors.RIFF.Dialogs
// Data
cboTypeID.Visible = false;
lblGroupID.Visible = false;
+ dscData.Visible = true;
}
else if (cboChunkType.SelectedItem == (cboChunkType.Model as DefaultTreeModel).Rows[1])
{
// Group
cboTypeID.Visible = true;
lblGroupID.Visible = true;
+ dscData.Visible = false;
}
}