mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-04-22 06:00:44 +00:00
Add code to address bug #33457. Menu title change should not cause document to be marked as modified.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@34223 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
21c67d28a2
commit
6773d49622
2 changed files with 5 additions and 0 deletions
|
@ -160,7 +160,9 @@
|
|||
/* delegate method used for menu title */
|
||||
- (void)controlTextDidChange:(NSNotification *)aNotification
|
||||
{
|
||||
GormDocument *doc = (GormDocument *)[(id<IB>)NSApp activeDocument];
|
||||
[object setTitle: [titleText stringValue]];
|
||||
[doc touch];
|
||||
}
|
||||
|
||||
@end
|
||||
|
|
|
@ -43,7 +43,10 @@
|
|||
|
||||
- (void)controlTextDidChange:(NSNotification *)aNotification
|
||||
{
|
||||
id<IBDocuments> doc = [(id<IB>)NSApp activeDocument];
|
||||
|
||||
[object setTitle: [titleText stringValue]];
|
||||
[doc touch];
|
||||
}
|
||||
|
||||
- (id) init
|
||||
|
|
Loading…
Reference in a new issue