|
From: <hap...@us...> - 2007-03-31 13:43:29
|
Revision: 269
http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=269&view=rev
Author: happytalk
Date: 2007-03-31 06:43:25 -0700 (Sat, 31 Mar 2007)
Log Message:
-----------
quit Fin_Charge_Init if file no exist
Modified Paths:
--------------
trunk/plugins/MyFilms/MesFilms.cs
Modified: trunk/plugins/MyFilms/MesFilms.cs
===================================================================
--- trunk/plugins/MyFilms/MesFilms.cs 2007-03-31 12:31:05 UTC (rev 268)
+++ trunk/plugins/MyFilms/MesFilms.cs 2007-03-31 13:43:25 UTC (rev 269)
@@ -308,7 +308,6 @@
if (CurrentConfig == "") //continuing here with CurrentConfig = "" will cause exception in GuiWindowManager.cs so exit plugin
{
- base.OnMessage(messageType);
GUIWindowManager.ShowPreviousWindow();
}
else
@@ -1220,7 +1219,10 @@
if (LoadDfltSlct)
boolselect = false;
if (!ControlFichierDonn\xE9es())
+ {
base.OnPreviousWindow();
+ return; // need to return here as xml file doesn't exist so no point trying to load it
+ }
try
{
mydivx.ReadXml(StrFileXml);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|