From 28f1634efeb79bef4cd9497e830855c84217cf45 Mon Sep 17 00:00:00 2001 From: Igor Timofeev Date: Sun, 13 Sep 2015 00:44:15 +0300 Subject: [PATCH] Update ECSAPI.lua --- lib/ECSAPI.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ECSAPI.lua b/lib/ECSAPI.lua index 534968a1..f28b8426 100644 --- a/lib/ECSAPI.lua +++ b/lib/ECSAPI.lua @@ -1175,7 +1175,7 @@ function ECSAPI.rename(mainPath) path = fs.path(mainPath) --Рисуем окошко ввода нового имени файла - local inputs = ECSAPI.input("auto", "auto", 20, " ", {"input", "Новое имя", name}) + local inputs = ECSAPI.universalWindow("auto", "auto", 30, ECSAPI.windowColors.background, true, {"EmptyLine"}, {"CenterText", 0x262626, "Переименовать"}, {"EmptyLine"}, {"Input", 0x262626, 0x880000, name}, {"EmptyLine"}, {"Button", 0xbbbbbb, 0xffffff, "Ok!"}) --Если ввели в окошко хуйню какую-то if inputs[1] == "" or inputs[1] == " " or inputs[1] == nil then