From 1549884b70f98c56c76d72135eee56576fec1ef9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Beno=C3=AEt=20Minisini?= <gambas@users.sourceforge.net>
Date: Wed, 16 Mar 2011 23:54:52 +0000
Subject: [PATCH] [DEVELOPMENT ENVIRONMENT] * BUG: Keep the open files order in
 the Workspace when closing a project.

git-svn-id: svn://localhost/gambas/trunk@3656 867c0c6c-44f3-4631-809d-bfa615b0a4ec
---
 app/src/gambas3/.src/Project.module | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/src/gambas3/.src/Project.module b/app/src/gambas3/.src/Project.module
index eb997d33f..ea30ecceb 100644
--- a/app/src/gambas3/.src/Project.module
+++ b/app/src/gambas3/.src/Project.module
@@ -600,7 +600,7 @@ Private Function CloseProject() As Boolean
     Design.WriteBreakpoints
     
     Config.Clear("/OpenFile")
-    For Each hForm In Files 'Workspace.Children
+    For Each hForm In Workspace.Children
       
       If Not hForm.Closed Then