Mailinglist Archive: yast-devel (129 mails)

< Previous Next >
Re: [yast-devel] How to preselect a table entry?
  • From: Ricardo Cruz <rpmcruz@xxxxxxxxxxxxxxxxxxx>
  • Date: Thu, 22 Nov 2007 17:21:44 +0000
  • Message-id: <1195752104.8306.21.camel@xxxxxxxxxxxx>
Qui, 2007-11-22 às 17:57 +0100, Thomas Fehr escreveu:
AFAIK nothing gets preselected, if one uses a value with ChangeWidget
that does not exist in the table.

That's not right. It is not documented, but -qt and -ncurses do it.
There is YCP code that actually gets broken if you change that behavior.
(e.g.: https://bugzilla.novell.com/show_bug.cgi?id=327492)


With regard to unselecting a row, its interesting that libyui will
return `nil on no selection, but won't accept that value for the
CurrentItem property. This seems incoherent, and, if addressed, would
let Johannes do what he wants.

Cheers,
Ricardo


--
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-devel+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups