Docs question: dw::core::ui::ListResource::SelectionMode::SELECTION_AT_MOST_ONE

The description of dw::core::ui::ListResource::SelectionMode::SELECTION_AT_MOST_ONE does not make sense. Should "The user may not the only selected item." read "The user may unselect the only selected item."? Regards, Jeremy Henty

On Sat, Apr 26, 2008 at 09:27:01AM +0100, Jeremy Henty wrote:
The description of dw::core::ui::ListResource::SelectionMode::SELECTION_AT_MOST_ONE does not make sense. Should "The user may not the only selected item." read "The user may unselect the only selected item."?
I guess so. Maybe the comment was copied from SELECTION_EXACTLY_ONE_BY_USER and "unselect" was deleted instead of "not"? Regards, Johannes

On Sat, Apr 26, 2008 at 10:31:51AM +0200, Johannes Hofmann wrote:
On Sat, Apr 26, 2008 at 09:27:01AM +0100, Jeremy Henty wrote:
The description of dw::core::ui::ListResource::SelectionMode::SELECTION_AT_MOST_ONE does not make sense. Should "The user may not the only selected item." read "The user may unselect the only selected item."?
I guess so. Maybe the comment was copied from SELECTION_EXACTLY_ONE_BY_USER and "unselect" was deleted instead of "not"?
That's my guess too. If someone comfirms this I'll make a patch. Regards, Jeremy Henty

On Sat, Apr 26, 2008 at 10:46:26AM +0100, Jeremy Henty wrote:
On Sat, Apr 26, 2008 at 10:31:51AM +0200, Johannes Hofmann wrote:
On Sat, Apr 26, 2008 at 09:27:01AM +0100, Jeremy Henty wrote:
The description of dw::core::ui::ListResource::SelectionMode::SELECTION_AT_MOST_ONE does not make sense. Should "The user may not the only selected item." read "The user may unselect the only selected item."?
I guess so. Maybe the comment was copied from SELECTION_EXACTLY_ONE_BY_USER and "unselect" was deleted instead of "not"?
That's my guess too. If someone comfirms this I'll make a patch.
Committed! -- Cheers Jorge.-

On Sat, Apr 26, 2008 at 03:08:21PM -0400, Jorge Arellano Cid wrote:
On Sat, Apr 26, 2008 at 10:46:26AM +0100, Jeremy Henty wrote:
That's my guess too. If someone comfirms this I'll make a patch.
Committed!
Gosh, I appear to have developed the magical super-power to cause patches to appear merely by thinking about them! :-) (Thinks: tabs, tabs, tabs...) Regards, Jeremy Henty
participants (3)
-
jcid@dillo.org
-
Johannes.Hofmann@gmx.de
-
onepoint@starurchin.org