From b5c779e70a12a777e2f167e20a1cecca7a6d1e5f Mon Sep 17 00:00:00 2001 From: asl Date: Thu, 1 Dec 2005 10:00:50 +0000 Subject: [PATCH] PAL10696 - crash if press "Shift+C" when there is no viewer --- src/Qtx/QtxWorkstack.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Qtx/QtxWorkstack.cxx b/src/Qtx/QtxWorkstack.cxx index 72275a837..e9a27a3ad 100644 --- a/src/Qtx/QtxWorkstack.cxx +++ b/src/Qtx/QtxWorkstack.cxx @@ -789,7 +789,7 @@ void QtxWorkstack::onCloseWindow() { if ( myWorkWin ) myWorkWin->close(); - else + else if( activeWindow() ) activeWindow()->close(); } -- 2.39.2