Author: gs Date: Thu Sep 20 12:23:38 2007 New Revision: 40978 URL: http://svn.opensuse.org/viewcvs/yast?rev=40978&view=rev Log: add YDialog::deleteTopmostDialog(); to delete NCPopupList Modified: branches/tmp/sh/mod-ui/ncurses/src/NCComboBox.cc Modified: branches/tmp/sh/mod-ui/ncurses/src/NCComboBox.cc URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/NCComboBox.cc?rev=40978&r1=40977&r2=40978&view=diff ============================================================================== --- branches/tmp/sh/mod-ui/ncurses/src/NCComboBox.cc (original) +++ branches/tmp/sh/mod-ui/ncurses/src/NCComboBox.cc Thu Sep 20 12:23:38 2007 @@ -660,13 +660,14 @@ if (!deflist.empty()) { wpos at( ScreenPos() + wpos( win->height(), -1 ) ); NCPopupList * dialog = new NCPopupList( at, "", deflist, index ); - NCMIL << "Calling createEntries()" << endl; dialog->createEntries( deflist, index ); dialog->dumpWidgetTree(); int idx = dialog->post(); if ( idx != -1 ) setCurrentItem( idx ); + YDialog::deleteTopmostDialog(); } + return 0; } -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org