mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 07:00:46 +00:00
Corrected undo.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20551 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
a6bacaf8d8
commit
dc4cf8f93c
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
2005-01-14 05:50 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* Source/NSDocument.m: corrected undoManager call in NSDocument.
|
||||
|
||||
2005-01-13 Adam Fedor <fedor@gnu.org>
|
||||
|
||||
* Source/GNUmakefile.preamble: Extend FILTER_OUT flag to
|
||||
|
|
|
@ -817,7 +817,7 @@
|
|||
|
||||
- (NSUndoManager *)undoManager
|
||||
{
|
||||
if (_undoManager == nil && [self hasUndoManager])
|
||||
if (_undoManager == nil && [self hasUndoManager] == NO)
|
||||
{
|
||||
[self setUndoManager: AUTORELEASE([[NSUndoManager alloc] init])];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue