Window :
- altri aggiustamenti per parte manuale.
This commit is contained in:
@@ -43,7 +43,7 @@ if WINDOW and WINDOW.FILE then
|
||||
sOpenFilePath = WINDOW.FILE
|
||||
else
|
||||
-- altrimenti apro dialogo di scelta file
|
||||
local sOpenDirPath = 'c:\\EgtData\\EgtWindowMaker\\Projects\\*.jwd'
|
||||
local sOpenDirPath = 'C:\\EgtData\\EgtWindowMaker\\Projects\\*.jwd'
|
||||
sOpenFilePath = EgtFileDialog( true, sOpenDirPath, "Window Project Files (*.jwd)|*.jwd||")
|
||||
if not sOpenFilePath then
|
||||
return
|
||||
@@ -54,7 +54,7 @@ EgtNewFile()
|
||||
|
||||
EgtStartCounter()
|
||||
|
||||
local sProfileDir = 'C:\\EgtData\\EgtWindowMaker\\Profiles'
|
||||
local sProfileDir = EgtGetStringFromIni( 'Window', 'ProfileDir', 'C:\\EgtData\\EgtWindowMaker\\Profiles', EgtGetIniFile())
|
||||
if not WinManageProject.ReadFromFile( sOpenFilePath, sProfileDir) then
|
||||
return
|
||||
end
|
||||
@@ -72,7 +72,6 @@ WinCalculate.CreatePartFromArea( nFrameId)
|
||||
WinCalculate.AddHardware( nFrameId, true, false, false, false)
|
||||
WinCalculate.AddAccessories( nFrameId, true)
|
||||
|
||||
|
||||
-- elimino profilo se in batch per test
|
||||
if WINDOW and WINDOW.TEST and WINDOW.TEST == 1 then
|
||||
local nProfileGroupId = EgtGetFirstNameInGroup( GDB_ID.ROOT, WIN_PROFILE)
|
||||
|
||||
Reference in New Issue
Block a user