From b4f0244bd571a4dfa38bb23b7c63ed689baf79cb Mon Sep 17 00:00:00 2001 From: Igor Timofeev Date: Sat, 17 Mar 2018 00:06:06 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A4=D0=B8=D0=B3=D0=B0=20=D0=B1=D0=B0=D0=B3?= =?UTF-8?q?=20=D0=B7=D0=B0=D0=BD=D1=8F=D1=82=D0=BD=D1=8B=D0=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Applications/Finder/Main.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Applications/Finder/Main.lua b/Applications/Finder/Main.lua index 8fbc3a88..4da6b09f 100644 --- a/Applications/Finder/Main.lua +++ b/Applications/Finder/Main.lua @@ -136,7 +136,7 @@ local function newSidebarItem(y, textColor, text, path) end object.eventHandler = function(mainContainer, object, eventData) - if eventData[1] == "touch" then + if eventData[1] == "touch" and object.onTouch then object.onTouch(eventData) end end @@ -217,7 +217,7 @@ updateSidebar = function() end end - if #MineOSCore.properties.FTPConnections > 0 then + if MineOSNetwork.internetProxy and #MineOSCore.properties.FTPConnections > 0 then y = y + 1 newSidebarItem(y, 0x3C3C3C, MineOSCore.localization.networkFTPConnections) y = y + 1