[yast-commit] r39218 - /branches/tmp/sh/mod-ui/core/libyui/doc/examples/ComboBox-icons.ycp

Author: sh-sh-sh Date: Fri Jul 6 16:06:02 2007 New Revision: 39218 URL: http://svn.opensuse.org/viewcvs/yast?rev=39218&view=rev Log: use correct property Modified: branches/tmp/sh/mod-ui/core/libyui/doc/examples/ComboBox-icons.ycp Modified: branches/tmp/sh/mod-ui/core/libyui/doc/examples/ComboBox-icons.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/core/libyui/doc/... ============================================================================== --- branches/tmp/sh/mod-ui/core/libyui/doc/examples/ComboBox-icons.ycp (original) +++ branches/tmp/sh/mod-ui/core/libyui/doc/examples/ComboBox-icons.ycp Fri Jul 6 16:06:02 2007 @@ -22,7 +22,7 @@ // Notice: The return value of UI::UserInput() does NOT return this value! // Rather, it returns the ID of the widget (normally the PushButton) // that caused UI::UserInput() to return. - string mod = (string) UI::QueryWidget(`id(`mod ), `CurrentItem); + string mod = (string) UI::QueryWidget(`id(`mod ), `Value); // Close the dialog. // Remember to read values from the dialog's widgets BEFORE closing it! -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
sh-sh-sh@svn.opensuse.org