mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 16:50:58 +00:00
Fix for #25607
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27899 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
2d33e2419f
commit
0926201ce5
2 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2009-02-17 Richard Frith-Macdonald <rfm@gnu.org>
|
||||||
|
|
||||||
|
* Source/NSUndoManager.m: Don't post checkpoint notification when
|
||||||
|
beginning top level group. Fix for #25607
|
||||||
|
|
||||||
2009-02-16 Adam Fedor <fedor@gnu.org>
|
2009-02-16 Adam Fedor <fedor@gnu.org>
|
||||||
|
|
||||||
* configure.ac: Look in LOCAL for headers/libs
|
* configure.ac: Look in LOCAL for headers/libs
|
||||||
|
|
|
@ -189,14 +189,15 @@
|
||||||
* Starts a new grouping of undo actions which can be
|
* Starts a new grouping of undo actions which can be
|
||||||
* atomically undone by an [-undo] invocation.
|
* atomically undone by an [-undo] invocation.
|
||||||
* This method posts an NSUndoManagerCheckpointNotification
|
* This method posts an NSUndoManagerCheckpointNotification
|
||||||
* unless an undo is currently in progress. It posts an
|
* unless an undo is currently in progress or this is begiinng a
|
||||||
|
* top level group. It posts an
|
||||||
* NSUndoManagerDidOpenUndoGroupNotification upon creating the grouping.
|
* NSUndoManagerDidOpenUndoGroupNotification upon creating the grouping.
|
||||||
*/
|
*/
|
||||||
- (void) beginUndoGrouping
|
- (void) beginUndoGrouping
|
||||||
{
|
{
|
||||||
PrivateUndoGroup *parent;
|
PrivateUndoGroup *parent;
|
||||||
|
|
||||||
if (_isUndoing == NO)
|
if (_isUndoing == NO && _group != nil)
|
||||||
{
|
{
|
||||||
[[NSNotificationCenter defaultCenter]
|
[[NSNotificationCenter defaultCenter]
|
||||||
postNotificationName: NSUndoManagerCheckpointNotification
|
postNotificationName: NSUndoManagerCheckpointNotification
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue