Author: sh-sh-sh Date: Mon Jul 2 16:43:38 2007 New Revision: 39110 URL: http://svn.opensuse.org/viewcvs/yast?rev=39110&view=rev Log: don't complain about self Modified: branches/tmp/sh/mod-ui/core/libyui/src/YSelectionWidget.cc Modified: branches/tmp/sh/mod-ui/core/libyui/src/YSelectionWidget.cc URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/core/libyui/src/YSelectionWidget.cc?rev=39110&r1=39109&r2=39110&view=diff ============================================================================== --- branches/tmp/sh/mod-ui/core/libyui/src/YSelectionWidget.cc (original) +++ branches/tmp/sh/mod-ui/core/libyui/src/YSelectionWidget.cc Mon Jul 2 16:43:38 2007 @@ -169,7 +169,7 @@ // expensive. But then, this is a bug in that application that needs to // be fixed. - if ( oldSelectedItem ) + if ( oldSelectedItem && oldSelectedItem != item ) { oldSelectedItem->setSelected( false ); y2warning( "Enforcing single selection: Deselecting %s", -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org