From 236bf5845d7a77bf0de2aba8292916cf585458db Mon Sep 17 00:00:00 2001 From: "kepler155c@gmail.com" Date: Fri, 12 May 2017 01:44:49 -0400 Subject: [PATCH] Files global clipboard --- apps/Files.lua | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/apps/Files.lua b/apps/Files.lua index 88553fb..2cf4dcf 100644 --- a/apps/Files.lua +++ b/apps/Files.lua @@ -143,6 +143,13 @@ function Browser.grid:getRowBackgroundColorX(file, selected) return self.backgroundColor end +function Browser.grid:eventHandler(event) + if event.type == 'copy' then -- let copy be handled by parent + return false + end + return UI.Grid.eventHandler(self, event) +end + function Browser.statusBar:draw() if self.parent.dir then local info = '#:' .. Util.size(self.parent.dir.files)