mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 15:11:37 +00:00
(-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:
parent
07176d3800
commit
c3ec6bb834
2 changed files with 8 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue