From c197561872157ce9629d82aebdbbc362d8d17abd Mon Sep 17 00:00:00 2001 From: igorseabra4 Date: Sat, 24 Nov 2018 16:19:35 -0300 Subject: [PATCH] minor fix --- IndustrialPark/ArchiveEditor/ArchiveEditor.Designer.cs | 4 ++++ IndustrialPark/ArchiveEditor/ArchiveEditor.cs | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/IndustrialPark/ArchiveEditor/ArchiveEditor.Designer.cs b/IndustrialPark/ArchiveEditor/ArchiveEditor.Designer.cs index 8763b130..30c3198e 100644 --- a/IndustrialPark/ArchiveEditor/ArchiveEditor.Designer.cs +++ b/IndustrialPark/ArchiveEditor/ArchiveEditor.Designer.cs @@ -151,6 +151,7 @@ private void InitializeComponent() // // hipHopToolExportToolStripMenuItem // + this.hipHopToolExportToolStripMenuItem.Enabled = false; this.hipHopToolExportToolStripMenuItem.Name = "hipHopToolExportToolStripMenuItem"; this.hipHopToolExportToolStripMenuItem.Size = new System.Drawing.Size(180, 22); this.hipHopToolExportToolStripMenuItem.Text = "Export Assets + INI"; @@ -158,6 +159,7 @@ private void InitializeComponent() // // importHIPArchiveToolStripMenuItem // + this.importHIPArchiveToolStripMenuItem.Enabled = false; this.importHIPArchiveToolStripMenuItem.Name = "importHIPArchiveToolStripMenuItem"; this.importHIPArchiveToolStripMenuItem.Size = new System.Drawing.Size(180, 22); this.importHIPArchiveToolStripMenuItem.Text = "Import HIP Archive"; @@ -165,6 +167,7 @@ private void InitializeComponent() // // exportTXDArchiveToolStripMenuItem // + this.exportTXDArchiveToolStripMenuItem.Enabled = false; this.exportTXDArchiveToolStripMenuItem.Name = "exportTXDArchiveToolStripMenuItem"; this.exportTXDArchiveToolStripMenuItem.Size = new System.Drawing.Size(180, 22); this.exportTXDArchiveToolStripMenuItem.Text = "Export TXD Archive"; @@ -172,6 +175,7 @@ private void InitializeComponent() // // importTXDArchiveToolStripMenuItem // + this.importTXDArchiveToolStripMenuItem.Enabled = false; this.importTXDArchiveToolStripMenuItem.Name = "importTXDArchiveToolStripMenuItem"; this.importTXDArchiveToolStripMenuItem.Size = new System.Drawing.Size(180, 22); this.importTXDArchiveToolStripMenuItem.Text = "Import TXD Archive"; diff --git a/IndustrialPark/ArchiveEditor/ArchiveEditor.cs b/IndustrialPark/ArchiveEditor/ArchiveEditor.cs index 289b1906..5dbd47c7 100644 --- a/IndustrialPark/ArchiveEditor/ArchiveEditor.cs +++ b/IndustrialPark/ArchiveEditor/ArchiveEditor.cs @@ -63,6 +63,8 @@ private void newToolStripMenuItem_Click(object sender, EventArgs e) buttonAddLayer.Enabled = true; importTXDArchiveToolStripMenuItem.Enabled = true; exportTXDArchiveToolStripMenuItem.Enabled = true; + hipHopToolExportToolStripMenuItem.Enabled = true; + importHIPArchiveToolStripMenuItem.Enabled = true; PopulateLayerComboBox(); PopulateAssetList(); @@ -111,6 +113,8 @@ private void FinishedOpening(string fileName) saveToolStripMenuItem.Enabled = true; saveAsToolStripMenuItem.Enabled = true; buttonAddLayer.Enabled = true; + hipHopToolExportToolStripMenuItem.Enabled = true; + importHIPArchiveToolStripMenuItem.Enabled = true; importTXDArchiveToolStripMenuItem.Enabled = true; exportTXDArchiveToolStripMenuItem.Enabled = true;