[yast-commit] r41861 - /branches/tmp/sh/mod-ui/ncurses/src/pkg/NCPkgPopupDeps.cc
Author: kmachalkova Date: Wed Nov 7 17:08:51 2007 New Revision: 41861 URL: http://svn.opensuse.org/viewcvs/yast?rev=41861&view=rev Log: Adapted to fixed NCMultiSelectionBox Modified: branches/tmp/sh/mod-ui/ncurses/src/pkg/NCPkgPopupDeps.cc Modified: branches/tmp/sh/mod-ui/ncurses/src/pkg/NCPkgPopupDeps.cc URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/pkg/NCPkgPopupDeps.cc?rev=41861&r1=41860&r2=41861&view=diff ============================================================================== --- branches/tmp/sh/mod-ui/ncurses/src/pkg/NCPkgPopupDeps.cc (original) +++ branches/tmp/sh/mod-ui/ncurses/src/pkg/NCPkgPopupDeps.cc Wed Nov 7 17:08:51 2007 @@ -536,13 +536,13 @@ case KEY_RETURN: { // act like a radio button // make sure that only one item is selected - int cur = getCurrentItem (); - bool on = itemIsSelected (cur); + YItem *cur = currentItem (); + bool on = isItemSelected( cur ); if (on) { deselectAllItems (); - selectItem (cur); - depsPopup->setSolution (cur); + selectItem (cur, true); + depsPopup->setSolution ( cur->index() ); } break; } -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
kmachalkova@svn.opensuse.org