mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-02-23 19:51:00 +00:00
* GormCore/GormConnectionInspector.m (ok:): return on problem with making connection, don't mark document as edited; update "Outlets" browser after makeing changes to connections - updates "connected" image on selected outlet.
This commit is contained in:
parent
e54c0fa607
commit
1ce96d0d79
1 changed files with 6 additions and 0 deletions
|
@ -494,6 +494,7 @@ selectCellWithString: (NSString*)title
|
|||
NSRunAlertPanel(_(@"Problem making connection"),
|
||||
_(@"Please select a valid destination."),
|
||||
_(@"OK"), nil, nil, nil);
|
||||
return;
|
||||
}
|
||||
else if ([connectors containsObject: currentConnector] == YES)
|
||||
{
|
||||
|
@ -545,6 +546,11 @@ selectCellWithString: (NSString*)title
|
|||
[oldBrowser setPath: path];
|
||||
}
|
||||
|
||||
// Update image marker in "Outlets" browser
|
||||
NSString *newPath = [newBrowser path];
|
||||
[newBrowser loadColumnZero];
|
||||
[newBrowser setPath:newPath];
|
||||
|
||||
// mark as edited.
|
||||
[super ok: sender];
|
||||
[self updateButtons];
|
||||
|
|
Loading…
Reference in a new issue