mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-04-22 22:20:44 +00:00
* GormCore/GormClassManager.m: Retain File's Owner setting, if
class is being updated. Correction for bug #18035 git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@23918 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
0b54892c78
commit
e3fb4c592f
2 changed files with 14 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
2006-10-19 23:11-EDT Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* GormCore/GormClassManager.m: Retain File's Owner setting, if
|
||||
class is being updated.
|
||||
Correction for bug #18035
|
||||
|
||||
2006-10-19 22:56-EDT Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* GormCore/GormClassManager.[hm]: Added actionExists:onClassNamed: and
|
||||
|
@ -9,6 +15,7 @@
|
|||
which type this is for.
|
||||
* Images/GormNib.tiff: Added "nib" in the center to make it obvious
|
||||
which type this is for.
|
||||
Correction for bug #18035
|
||||
|
||||
2006-10-18 14:03-EDT Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
|
|
|
@ -1911,6 +1911,10 @@
|
|||
|
||||
if (retval == NSAlertDefaultReturn)
|
||||
{
|
||||
// get the owner and reset the class name to NSApplication.
|
||||
GormFilesOwner *owner = [document objectForName: @"NSOwner"];
|
||||
NSString *ownerClassName = [owner className];
|
||||
|
||||
// delete the class..
|
||||
[self removeClassNamed: className];
|
||||
|
||||
|
@ -1922,6 +1926,9 @@
|
|||
|
||||
// refresh the connections.
|
||||
[document refreshConnectionsForClassNamed: className];
|
||||
|
||||
// reset the class name.
|
||||
[owner setClassName: ownerClassName];
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue