On Friday 12 October 2007 11:46, Stefan Hundhammer wrote:
Having a look at your repo, I see stretchable() wasn't yet made safe to call for childless containers. :(
Hm - well, OK, that shouldn't be so hard. OTOH a childless container doesn't serve any purpose.
BTW it was a theoretical problem anyway since the only way to create the respective widgets was with YCP calls, and the UI's YCP dialog term parser would not allow to create a container widget without a child. Now that it can reasonably be called from C++ it's different of course. The two remaining places where a hasChildren() call was missing are now fixed. Thanks for pointing that out. CU -- Stefan Hundhammer <sh@suse.de> Penguin by conviction. YaST2 Development SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Nürnberg, Germany -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org