mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 16:20:46 +00:00
* Source/NSTableView.m (-mouseDown:): Check for empty selection.
when adding to the current selection. Fixes bug #15261. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23945 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
a197607128
commit
36e68226f8
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2006-10-22 Matt Rice <ratmice@yahoo.com>
|
||||
|
||||
* Source/NSTableView.m (-mouseDown:): Check for empty selection.
|
||||
when adding to the current selection. Fixes bug #15261.
|
||||
|
||||
2006-10-21 Matt Rice <ratmice@yahoo.com>
|
||||
|
||||
* Headers/AppKit/NSGraphics.h: Add GSOrderedWindows function.
|
||||
|
|
|
@ -3445,7 +3445,7 @@ static inline float computePeriod(NSPoint mouseLocationWin,
|
|||
if (modifiers & NSControlKeyMask)
|
||||
{
|
||||
selectionMode |= CONTROL_DOWN;
|
||||
if (_allowsMultipleSelection == YES)
|
||||
if (_allowsMultipleSelection == YES && _selectedRow != -1)
|
||||
{
|
||||
originalRow = _selectedRow;
|
||||
selectionMode |= SHIFT_DOWN;
|
||||
|
|
Loading…
Reference in a new issue