From 2bbe774b6ab3098959da1077a4092c93389e4297 Mon Sep 17 00:00:00 2001
From: Julien Michel <julien.michel@c-s.fr>
Date: Thu, 21 Jun 2007 09:41:00 +0000
Subject: [PATCH] =?UTF-8?q?Corrections=20mineures=20GDALImageIO,=20et=20?=
 =?UTF-8?q?=C3=A9volution=20ViewerManager?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 ViewerManager/otbImageViewerManager.cxx | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/ViewerManager/otbImageViewerManager.cxx b/ViewerManager/otbImageViewerManager.cxx
index 0c797c13d6..f89ec60670 100644
--- a/ViewerManager/otbImageViewerManager.cxx
+++ b/ViewerManager/otbImageViewerManager.cxx
@@ -26,6 +26,11 @@ int main(int argc, char* argv[])
   ManagerType::Pointer manager = ManagerType::New();
   manager->Show();
 
+  for(int i = 1; i<argc;++i)
+    {
+      manager->OpenImage(argv[i]);
+      Fl::check();
+    }
   return Fl::run();
     } 
   catch( itk::ExceptionObject & err ) 
-- 
GitLab