Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit 562726d

Browse files
committed
Fix error when closing the SE and the Find window is still open
1 parent abfc389 commit 562726d

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Toolset/palettes/script editor/behaviors/revsefindmaincardbehavior.livecodescript

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@ end menuPick
3333

3434
on closeCard
3535
historySave
36-
send "revSEFindFinalize" to (getCaller())
36+
if there is a stack getCaller() then
37+
send "revSEFindFinalize" to (getCaller())
38+
end if
3739
pass closeCard
3840
end closeCard
3941

notes/bugfix-21414.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Fix error when closing the Script Editor and the Find window is still open

0 commit comments

Comments
 (0)