/[MorrowindCustomClothingSlotCreator]/trunk/MorrowindCustomClothingSlotCreator/Form1.cs
ViewVC logotype

Diff of /trunk/MorrowindCustomClothingSlotCreator/Form1.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- trunk/MorrowindCustomClothingSlotCreator/Form1.cs	2011/07/29 09:23:17	4
+++ trunk/MorrowindCustomClothingSlotCreator/Form1.cs	2011/07/29 16:09:53	17
@@ -44,12 +44,13 @@
 
         private void mnuItemOpenPlugin_Click(object sender, EventArgs e)
         {
+            this.log.Clear();
             PluginLoader.InitialDirectory = MorrowindDataFilesPath;
             DialogResult result = PluginLoader.ShowDialog();
             string PluginFile = PluginLoader.FileName;
             if (result != DialogResult.OK) return;
             //MessageBox.Show("Load Plugin: " + PluginLoader.FileName);
-            this.TES3PluginLoader = new TES3PluginLoader(PluginFile);
+            this.TES3PluginLoader = new TES3PluginLoader(PluginFile, this.log);
             if (!this.LoadPlugin(PluginFile))
             {
                 MessageBox.Show("Failed to Load Plugin: " + PluginFile + "\n\nReason: \n\n" + this.TES3PluginLoader.PluginLoadFailureReason, "Failed to Load File:", MessageBoxButtons.OK, MessageBoxIcon.Error);

 

  ViewVC Help
Powered by ViewVC 1.1.22