diff options
Diffstat (limited to 'src/event_exec.rs')
-rw-r--r-- | src/event_exec.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/event_exec.rs b/src/event_exec.rs index a1b8cb6..d2b761c 100644 --- a/src/event_exec.rs +++ b/src/event_exec.rs @@ -816,9 +816,9 @@ impl EventAction { status.refresh_status(colors) } - pub fn refresh_if_needed(status: &mut Status) -> Result<()> { - status.encrypted_devices.update()?; - status.refresh_if_needed() + /// Refresh the view if files were modified in current directory. + pub fn refresh_if_needed(tab: &mut Tab) -> Result<()> { + tab.refresh_if_needed() } /// Display mediainfo details of an image |