aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/ui.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/ui.lua b/core/ui.lua
index e60e497c..87e88ffb 100644
--- a/core/ui.lua
+++ b/core/ui.lua
@@ -299,6 +299,7 @@ events_connect(events.URI_DROPPED, function(utf8_uris)
if mode and mode ~= 'directory' then io.open_file(uri) end
end
end
+ ui.goto_view(view) -- work around any view focus synchronization issues
end)
events_connect(events.APPLEEVENT_ODOC, function(uri)
return events.emit(events.URI_DROPPED, 'file://'..uri)