From 1a475ff6f54201a495ee9299ca6e521cc3f282c2 Mon Sep 17 00:00:00 2001 From: Igor Timofeev Date: Fri, 31 Aug 2018 14:11:48 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A5=D0=A3=D0=A3=D0=A3=D0=A3=D0=AF=D0=A1?= =?UTF-8?q?=D0=95=20=D0=91=D0=90=D0=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/MineOSInterface.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/MineOSInterface.lua b/lib/MineOSInterface.lua index e55b033c..b4f26c1d 100755 --- a/lib/MineOSInterface.lua +++ b/lib/MineOSInterface.lua @@ -957,7 +957,7 @@ function MineOSInterface.newFileFromURL(parentWindow, iconField, x, y, path) container.inputFieldURL = container.layout:addChild(GUI.input(1, 1, 36, 3, 0xE1E1E1, 0x696969, 0x878787, 0xE1E1E1, 0x2D2D2D, nil, "URL", false)) container.panel.eventHandler = function(mainContainer, object, e1) if e1 == "touch" then - if #container.inputField.text > 0 and #container.inputFieldURL > 0 then + if #container.inputField.text > 0 and #container.inputFieldURL.text > 0 then if fs.exists(path .. container.inputField.text) then container.label.hidden = false mainContainer:drawOnScreen()