From cea214de5eeb95e4632e82a513ba63f6bb5bdc33 Mon Sep 17 00:00:00 2001 From: Jean-Paul Chaput Date: Mon, 25 Jan 2010 14:41:48 +0000 Subject: [PATCH] Test for NULL cell in setCell() ... --- hurricane/src/hviewer/CellWidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hurricane/src/hviewer/CellWidget.cpp b/hurricane/src/hviewer/CellWidget.cpp index 007f9ac7..0638d7fa 100644 --- a/hurricane/src/hviewer/CellWidget.cpp +++ b/hurricane/src/hviewer/CellWidget.cpp @@ -2503,7 +2503,7 @@ namespace Hurricane { shared_ptr state ( new State(cell) ); setState ( state ); - if ( cell->isTerminal() ) setQueryFilter ( ~0 ); + if ( cell and cell->isTerminal() ) setQueryFilter ( ~0 ); //setRealMode (); fitToContents ( false );