[longomatch] Fix regression opening projects using a file that is not available in the system



commit d439e481fdc0e4a1f995af90d93135413754c69a
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Mon Apr 5 16:23:08 2010 +0200

    Fix regression opening projects using a file that is not available in the system

 LongoMatch/Gui/MainWindow.cs |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/LongoMatch/Gui/MainWindow.cs b/LongoMatch/Gui/MainWindow.cs
index 02dd80f..04dd138 100644
--- a/LongoMatch/Gui/MainWindow.cs
+++ b/LongoMatch/Gui/MainWindow.cs
@@ -124,6 +124,7 @@ namespace LongoMatch.Gui
 						                          Catalog.GetString("The file associated to this project doesn't exist.")+"\n"
 						                          +Catalog.GetString("If the location of the file has changed try to edit it with the database manager."));
 						CloseOpenedProject(true);
+						return;
 					} else {
 						Title = System.IO.Path.GetFileNameWithoutExtension(project.File.FilePath) + " - LongoMatch";
 						try {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]