[yast-commit] r41152 - /branches/tmp/sh/mod-ui/ncurses/src/NCDialog.cc
Author: gs Date: Thu Sep 27 17:32:17 2007 New Revision: 41152 URL: http://svn.opensuse.org/viewcvs/yast?rev=41152&view=rev Log: call YDialog::deleteTopmostDialog() after helpPopup->popdown() 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=41152&r1=41151&r2=41152&view=diff ============================================================================== --- branches/tmp/sh/mod-ui/ncurses/src/NCDialog.cc (original) +++ branches/tmp/sh/mod-ui/ncurses/src/NCDialog.cc Thu Sep 27 17:32:17 2007 @@ -184,7 +184,7 @@ if ( helpPopup ) { - delete helpPopup; + YDialog::deleteTopmostDialog(); } } @@ -1176,6 +1176,8 @@ if ( helpPopup ) { helpPopup->popdown(); + YDialog::deleteTopmostDialog(); + helpPopup = 0; } else { @@ -1217,11 +1219,12 @@ helpText ), "" ); - helpPopup->setNiceSize( NCurses::cols()/3, NCurses::lines()/3 ); - } + if ( helpPopup ) { + helpPopup->setNiceSize( NCurses::cols()/3, NCurses::lines()/3 ); + if ( !helpPopup->isVisible() ) { helpPopup->popup(); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
gs@svn.opensuse.org