[yast-commit] r41454 - /branches/tmp/sh/mod-ui/ncurses/src/NCPkgTable.cc
Author: gs Date: Thu Oct 18 11:56:09 2007 New Revision: 41454 URL: http://svn.opensuse.org/viewcvs/yast?rev=41454&view=rev Log: add debug info and check pointer Modified: branches/tmp/sh/mod-ui/ncurses/src/NCPkgTable.cc Modified: branches/tmp/sh/mod-ui/ncurses/src/NCPkgTable.cc URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/NCPkgTable.cc?rev=41454&r1=41453&r2=41454&view=diff ============================================================================== --- branches/tmp/sh/mod-ui/ncurses/src/NCPkgTable.cc (original) +++ branches/tmp/sh/mod-ui/ncurses/src/NCPkgTable.cc Thu Oct 18 11:56:09 2007 @@ -431,6 +431,12 @@ // bool NCPkgTable::fillDefaultList( ) { + if ( !packager && + packager->getDefaultRpmGroup() ) + { + NCERR << "No package selector existing" << endl; + return false; + } switch ( tableType ) { case T_Patches: { @@ -463,6 +469,7 @@ if ( defaultGroup ) { + NCMIL << "default RPM group: " << defaultGroup->value().translation() << endl; packager->fillPackageList ( YCPString( defaultGroup->value().translation()), defaultGroup ); -- 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