(-mouseDown:): Send the action for simple clicks even if the selection changed.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18844 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Alexander Malmberg 2004-03-14 18:31:56 +00:00
parent 07176d3800
commit c3ec6bb834
2 changed files with 8 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2004-03-14 19:29 Alexander Malmberg <alexander@malmberg.org>
* Source/NSTableView.m (-mouseDown:): Send the action for simple
clicks even if the selection changed.
2004-03-13 03:19 Alexander Malmberg <alexander@malmberg.org>
* Source/NSLayoutManager.m

View file

@ -4555,7 +4555,9 @@ byExtendingSelection: (BOOL)flag
{
[self _postSelectionDidChangeNotification];
}
else if (!mouseMoved)
/* If this was a simple click (ie. no dragging), we send our action. */
if (!mouseMoved)
{
/*
_clickedRow and _clickedColumn are already set at the start of