From e790626247bdea291931d34537c63524ffd05ea4 Mon Sep 17 00:00:00 2001 From: ouv Date: Tue, 1 Aug 2006 12:45:54 +0000 Subject: [PATCH] SWP12779 --- src/SVTK/SVTK_RenderWindowInteractor.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SVTK/SVTK_RenderWindowInteractor.cxx b/src/SVTK/SVTK_RenderWindowInteractor.cxx index 69d19aa6e..647fbc554 100644 --- a/src/SVTK/SVTK_RenderWindowInteractor.cxx +++ b/src/SVTK/SVTK_RenderWindowInteractor.cxx @@ -161,7 +161,7 @@ QVTK_RenderWindowInteractor { // Final initialization just before the widget is displayed GetDevice()->SetSize(width(),height()); - if(!GetDevice()->GetInitialized()){ + if(!GetDevice()->GetInitialized() && GetDevice()->GetRenderWindow()){ GetDevice()->Initialize(); GetDevice()->ConfigureEvent(); } -- 2.39.2