From 5dea29ee861a7b99dcbecb69a3f738528b97b278 Mon Sep 17 00:00:00 2001 From: Thomas Feuvrier <thomas.feuvrier@c-s.fr> Date: Thu, 22 Feb 2007 14:14:40 +0000 Subject: [PATCH] Ajout condition d'appel au Hide dans destructeur. --- Code/Visu/otbImageViewer.txx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Code/Visu/otbImageViewer.txx b/Code/Visu/otbImageViewer.txx index 71a25b641c..df8416300d 100644 --- a/Code/Visu/otbImageViewer.txx +++ b/Code/Visu/otbImageViewer.txx @@ -64,7 +64,10 @@ namespace otb ::~ImageViewer() { - Hide(); + if( m_Built == true) + { + Hide(); + } if (m_FullWindow!=NULL) { -- GitLab