From 51b789d2d5a95e5452284ffcd73b132538d73b65 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Tue, 20 Jan 2015 23:30:22 -0500 Subject: Check for modified files after resuming from suspend; core/file_io.lua --- core/file_io.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'core/file_io.lua') diff --git a/core/file_io.lua b/core/file_io.lua index 84288230..3c7cb1f2 100644 --- a/core/file_io.lua +++ b/core/file_io.lua @@ -309,6 +309,7 @@ end events_connect(events.BUFFER_AFTER_SWITCH, update_modified_file) events_connect(events.VIEW_AFTER_SWITCH, update_modified_file) events_connect(events.FOCUS, update_modified_file) +events_connect(events.RESUME, update_modified_file) -- Prompts the user to reload the current file if it has been externally -- modified. -- cgit v1.2.3