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:
Allan Odgaard
2013-01-10 18:34:33 +01:00
parent 81b05711f0
commit 80c358f947

View File

@@ -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