diff --git a/.DS_Store b/.DS_Store index f2968b86..2778f7d2 100644 Binary files a/.DS_Store and b/.DS_Store differ 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 74b3b3c8..35983d6d 100644 Binary files a/Applications/.DS_Store and b/Applications/.DS_Store differ 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()