aboutsummaryrefslogtreecommitdiffhomepage
path: root/core/ui.lua
diff options
context:
space:
mode:
authorGravatar mitchell <70453897+667e-11@users.noreply.github.com>2018-08-06 11:23:13 -0400
committerGravatar mitchell <70453897+667e-11@users.noreply.github.com>2018-08-06 11:23:13 -0400
commit41abf8f71f31038968fe80e020280e848d8fd82d (patch)
treeb66c6b42c3256dcf218ade09c539b8596012ee4e /core/ui.lua
parenteaf8f255a0fb8a3c2b87b14e806fb570ca80cb5a (diff)
Fixed view focus synchronization issues when dropping files into split views.
Diffstat (limited to 'core/ui.lua')
-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)