mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-02-24 03:51:22 +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"),
|
NSRunAlertPanel(_(@"Problem making connection"),
|
||||||
_(@"Please select a valid destination."),
|
_(@"Please select a valid destination."),
|
||||||
_(@"OK"), nil, nil, nil);
|
_(@"OK"), nil, nil, nil);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
else if ([connectors containsObject: currentConnector] == YES)
|
else if ([connectors containsObject: currentConnector] == YES)
|
||||||
{
|
{
|
||||||
|
@ -545,6 +546,11 @@ selectCellWithString: (NSString*)title
|
||||||
[oldBrowser setPath: path];
|
[oldBrowser setPath: path];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Update image marker in "Outlets" browser
|
||||||
|
NSString *newPath = [newBrowser path];
|
||||||
|
[newBrowser loadColumnZero];
|
||||||
|
[newBrowser setPath:newPath];
|
||||||
|
|
||||||
// mark as edited.
|
// mark as edited.
|
||||||
[super ok: sender];
|
[super ok: sender];
|
||||||
[self updateButtons];
|
[self updateButtons];
|
||||||
|
|
Loading…
Reference in a new issue