mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-06-01 21:31:56 +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
e1e0e0181e
commit
53747396be
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>
|
2004-03-13 03:19 Alexander Malmberg <alexander@malmberg.org>
|
||||||
|
|
||||||
* Source/NSLayoutManager.m
|
* Source/NSLayoutManager.m
|
||||||
|
|
|
@ -4555,7 +4555,9 @@ byExtendingSelection: (BOOL)flag
|
||||||
{
|
{
|
||||||
[self _postSelectionDidChangeNotification];
|
[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
|
_clickedRow and _clickedColumn are already set at the start of
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue