From afcbe60a426e5a706acb98321af8a9bd46d9556c Mon Sep 17 00:00:00 2001
From: Julien Malik <julien.malik@c-s.fr>
Date: Sat, 23 Jun 2012 08:55:51 +0200
Subject: [PATCH] BUG: fix PackedWidgetManager::Shown not returning

---
 Code/Visualization/otbPackedWidgetManager.cxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Code/Visualization/otbPackedWidgetManager.cxx b/Code/Visualization/otbPackedWidgetManager.cxx
index 88d62f45d4..2aac71d95e 100644
--- a/Code/Visualization/otbPackedWidgetManager.cxx
+++ b/Code/Visualization/otbPackedWidgetManager.cxx
@@ -161,7 +161,7 @@ int
 PackedWidgetManager
 ::Shown()
 {
-  m_PackedWidget->m_Window->shown();
+  return m_PackedWidget->m_Window->shown();
 }
 
 }
-- 
GitLab