From f3175c9fb50972816968fe3e3a703cfa971487ee Mon Sep 17 00:00:00 2001 From: Igor Timofeev Date: Mon, 16 Jan 2017 20:20:35 +0300 Subject: [PATCH] aefafe --- .DS_Store | Bin 18436 -> 18436 bytes Applications.txt | 2 +- Applications/.DS_Store | Bin 79876 -> 79876 bytes Applications/MineCodeIDE/MineCodeIDE.lua | 13 ++++++++----- 4 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.DS_Store b/.DS_Store index f2968b868aa72917c6d5b5e4247332990dcc2417..2778f7d2d26509c4129681c482e02a56edaf8789 100644 GIT binary patch delta 26 icmZpfz}PZ@al;cub^|jV1tSBa$?L^DHXAElR0RNeV+hLt delta 26 icmZpfz}PZ@al;cuc0&^#1tU|-$?L^DHXAElR0RNe(g@Z7 diff --git a/Applications.txt b/Applications.txt index 2eb27dfd..ca90c6d0 100644 --- a/Applications.txt +++ b/Applications.txt @@ -886,7 +886,7 @@ icon="IgorTimofeev/OpenComputers/master/Applications/MineCodeIDE/Icon.pic", createShortcut="dock", forceDownload=true, - version=1.29, + version=1.30, resources={ { name="Localization/Russian.lang", diff --git a/Applications/.DS_Store b/Applications/.DS_Store index 74b3b3c827d44a9a97e68dd13a8dc0405b03b986..35983d6d3e44ee4fac308382338c7640333804a0 100644 GIT binary patch delta 26 icmZqqz|!)8Wy8|#>;`5!3PuJ-lOH;GZ2q!cpaB4vy9+b` delta 25 hcmZqqz|!)8Wy8|#Y=$N}3Pz@r1^;+%{<2-50RWC}3i1E| diff --git a/Applications/MineCodeIDE/MineCodeIDE.lua b/Applications/MineCodeIDE/MineCodeIDE.lua index 9f23bdcd..9d8cc2ec 100755 --- a/Applications/MineCodeIDE/MineCodeIDE.lua +++ b/Applications/MineCodeIDE/MineCodeIDE.lua @@ -364,6 +364,7 @@ local function saveAs() if data[2] == "OK" then saveFile(data[1]) workPath = data[1] + mainWindow.leftTreeView.workPath = workPath end end @@ -993,12 +994,14 @@ local function createWindow() -- O elseif eventData[4] == 24 then open() - -- S + Shift - elseif eventData[4] == 31 and keyboard.isKeyDown(42) then - saveAs() -- S - elseif eventData[4] == 31 and workPath then - save() + elseif eventData[4] == 31 then + -- Shift + if workPath and not keyboard.isKeyDown(42) then + save() + else + saveAs() + end -- F elseif eventData[4] == 33 then toggleBottomToolBar()