mirror of
https://github.com/textmate/textmate.git
synced 2026-01-22 13:17:55 -05:00
Remove unnecessary hack
The issue this code solved was that setting the proxy icon via represented file before a file actually exists on disk would lead to no icon so we would have to update it again after a successful save. This however is already done (by the save callback passed in).
This commit is contained in:
@@ -206,8 +206,5 @@ namespace
|
||||
documents.pop_back();
|
||||
if(flag)
|
||||
[self saveNextDocument];
|
||||
|
||||
if(flag && [[window delegate] respondsToSelector:@selector(updateProxyIcon)])
|
||||
[[window delegate] performSelector:@selector(updateProxyIcon)]; // FIXME The delegate needs to update proxy icon based on “exists on disk” notifications from document_t
|
||||
}
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user