Skip to content

Commit d045fb1

Browse files
committed
[[ IDE Cleanup ]] Use scriptExecutionErrors and scriptParsingErrors
There is no need to indirect these properties through the custom properties of the error display stack.
1 parent f3b6cfb commit d045fb1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ide-support/revsaveasstandalone.livecodescript

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -989,8 +989,8 @@ private command revCopyResources pStack, pStackFileList
989989
put "" into tCopyfiles
990990
-- error reporting
991991
if sStandaloneSettingsA["errorDialog"] then
992-
set the cErrorsList of stack "revErrorReport" to the cErrorsList of cd 1 of stack "revErrorDisplay"
993-
set the cScriptErrors of stack "revErrorReport" to the cScriptErrors of cd 1 of stack "revErrorDisplay"
992+
set the cErrorsList of stack "revErrorReport" to the scriptExecutionErrors
993+
set the cScriptErrors of stack "revErrorReport" to the scriptParsingErrors
994994
set the htmltext of fld "info" of stack "revErrorReport" to sStandaloneSettingsA["errorDialog,htmltext"]
995995
if sStandaloneSettingsA["errorDialog,icon"] is not "" then
996996
set the icon of btn "icon" of stack "revErrorReport" to sStandaloneSettingsA["errorDialog,icon"]

0 commit comments

Comments
 (0)