(iOS) Make the refresh button on the file browser work ‘better’. (It DID work before, by the time you restarted the app and browsed back to the directory the listing would be updated. This just makes it quicker.)

This commit is contained in:
meancoot 2013-12-16 18:15:50 -05:00
parent 7d8170c3d4
commit 8ea84c99ef

View File

@ -147,6 +147,11 @@ static void file_action(enum file_action action, NSString* source, NSString* tar
[self browseTo:@"/"];
}
- (void)refresh
{
[self browseTo:_path];
}
- (void)browseTo:(NSString*)path
{
_path = path;