Author: gs Date: Tue Nov 6 10:58:30 2007 New Revision: 41812 URL: http://svn.opensuse.org/viewcvs/yast?rev=41812&view=rev Log: check NCursesUserPanel pointer in activate() Modified: branches/tmp/sh/mod-ui/ncurses/src/NCDialog.cc Modified: branches/tmp/sh/mod-ui/ncurses/src/NCDialog.cc URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/NCDialog.cc?rev=41812&r1=41811&r2=41812&view=diff ============================================================================== --- branches/tmp/sh/mod-ui/ncurses/src/NCDialog.cc (original) +++ branches/tmp/sh/mod-ui/ncurses/src/NCDialog.cc Tue Nov 6 10:58:30 2007 @@ -302,7 +302,7 @@ // void NCDialog::activate( const bool newactive ) { - if ( active != newactive || pan->hidden()) { + if ( active != newactive || ( pan && pan->hidden()) ) { active = newactive; if ( pan ) { pan->show(); // not getVisible() because wRedraw() follows. -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org