From 66cc0094a3c8532f7a9e94d2565d7d05d6061720 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Minisini?= Date: Mon, 2 Nov 2009 18:13:58 +0000 Subject: [PATCH] [DEVELOPMENT ENVIRONMENT] * BUG: Do not use the main window for displaying error when a project cannot be opened. git-svn-id: svn://localhost/gambas/trunk@2407 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 ae128e6d9..736a457e6 100644 --- a/app/src/gambas3/.src/Project.module +++ b/app/src/gambas3/.src/Project.module @@ -411,7 +411,7 @@ Public Function Open(sDir As String, Optional bInAnotherWindow As Boolean) As Bo Catch If Error.Text Then - FGambas.Error(("Cannot open project file :\n") & sDir & "\n\n" & Error.Text & "\n" & Error.Where) + Message.Error(("Cannot open project file :\n") & sDir & "\n\n" & Error.Text & "\n" & Error.Where) Endif _CANCEL: