diff options
author | 2018-08-06 11:23:13 -0400 | |
---|---|---|
committer | 2018-08-06 11:23:13 -0400 | |
commit | 41abf8f71f31038968fe80e020280e848d8fd82d (patch) | |
tree | b66c6b42c3256dcf218ade09c539b8596012ee4e /core | |
parent | eaf8f255a0fb8a3c2b87b14e806fb570ca80cb5a (diff) | |
download | textadept-41abf8f71f31038968fe80e020280e848d8fd82d.tar.gz textadept-41abf8f71f31038968fe80e020280e848d8fd82d.zip |
Fixed view focus synchronization issues when dropping files into split views.
Diffstat (limited to 'core')
-rw-r--r-- | core/ui.lua | 1 |
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) |