mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 03:10:47 +00:00
Source/NSTableView.m (see changelog)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12565 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
0011bc4c02
commit
3d7f962a3b
2 changed files with 16 additions and 5 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2002-02-19 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
|
||||||
|
|
||||||
|
* Source/NSTableView.m ([-setAutosaveTableColumns:]):
|
||||||
|
sets the flag before trying to load from defaults.
|
||||||
|
(patch by Alexander Malmberg <alexander@malmberg.org>)
|
||||||
|
|
||||||
Tue Feb 19 11:46:31 2002 Nicola Pero <nicola@brainstorm.co.uk>
|
Tue Feb 19 11:46:31 2002 Nicola Pero <nicola@brainstorm.co.uk>
|
||||||
|
|
||||||
* Source/NSTextView.m ([-dealloc]): RETAIN self before destroying
|
* Source/NSTextView.m ([-dealloc]): RETAIN self before destroying
|
||||||
|
|
|
@ -3964,13 +3964,18 @@ byExtendingSelection: (BOOL)flag
|
||||||
{
|
{
|
||||||
[_selectedColumns removeAllObjects];
|
[_selectedColumns removeAllObjects];
|
||||||
[_selectedRows removeAllObjects];
|
[_selectedRows removeAllObjects];
|
||||||
|
_selectedColumn = -1;
|
||||||
|
_selectedRow = -1;
|
||||||
|
_selectingColumns = NO;
|
||||||
[nc postNotificationName: NSTableViewSelectionDidChangeNotification
|
[nc postNotificationName: NSTableViewSelectionDidChangeNotification
|
||||||
object: self];
|
object: self];
|
||||||
}
|
}
|
||||||
|
else
|
||||||
_selectedColumn = -1;
|
{
|
||||||
_selectedRow = -1;
|
_selectedColumn = -1;
|
||||||
_selectingColumns = NO;
|
_selectedRow = -1;
|
||||||
|
_selectingColumns = NO;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -6211,6 +6216,7 @@ byExtendingSelection: (BOOL)flag
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
_autosaveTableColumns = flag;
|
||||||
if (flag)
|
if (flag)
|
||||||
{
|
{
|
||||||
[self _autoloadTableColumns];
|
[self _autoloadTableColumns];
|
||||||
|
@ -6225,7 +6231,6 @@ byExtendingSelection: (BOOL)flag
|
||||||
name: NSTableViewColumnDidResizeNotification
|
name: NSTableViewColumnDidResizeNotification
|
||||||
object: self];
|
object: self];
|
||||||
}
|
}
|
||||||
_autosaveTableColumns = flag;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue