Author: gs Date: Wed Sep 26 14:31:14 2007 New Revision: 41109 URL: http://svn.opensuse.org/viewcvs/yast?rev=41109&view=rev Log: create filePopups with 'new' Modified: branches/tmp/sh/mod-ui/ncurses/src/YNCursesUI.cc Modified: branches/tmp/sh/mod-ui/ncurses/src/YNCursesUI.cc URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/YNCursesUI.cc?rev=41109&r1=41108&r2=41109&view=diff ============================================================================== --- branches/tmp/sh/mod-ui/ncurses/src/YNCursesUI.cc (original) +++ branches/tmp/sh/mod-ui/ncurses/src/YNCursesUI.cc Wed Sep 26 14:31:14 2007 @@ -924,9 +924,11 @@ const YCPString & filter, const YCPString & headline ) { - NCAskForSaveFileName filePopup( wpos( 1, 1 ), startDir, filter, headline ); + NCAskForSaveFileName * filePopup = new NCAskForSaveFileName( wpos( 1, 1 ), startDir, filter, headline ); + YUI_CHECK_NEW( filePopup ); - NCursesEvent retEvent = filePopup.showDirPopup( ); + NCursesEvent retEvent = filePopup->showDirPopup( ); + YDialog::deleteTopmostDialog(); if ( !retEvent.result.isNull() ) { -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org