If the project changes the browser reloads the correct column.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@12618 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Philippe C.D. Robert 2002-02-21 11:25:33 +00:00
parent 6508160786
commit b846123f5b
2 changed files with 6 additions and 3 deletions

View file

@ -93,9 +93,10 @@
- (void)projectDictDidChange:(NSNotification *)aNotif
{
if (browser) {
[browser loadColumnZero];
}
if (browser)
{
[browser reloadColumn:[browser lastColumn]];
}
}
- (NSString *)nameOfSelectedFile

View file

@ -725,6 +725,8 @@
@"OK",nil,nil,newFile,destination);
}
}
[[NSNotificationCenter defaultCenter] postNotificationName:@"ProjectDictDidChangeNotification" object:self];
}
- (void)removeFile:(NSString *)file forKey:(NSString *)key