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

Commit cd9736d

Browse files
committed
[22091] Ensure icofilter stack closes only when the icon list is clicked
1 parent e21ea31 commit cd9736d

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

Toolset/palettes/inspector/editors/com.livecode.pi.svgiconfilter.behavior.livecodescript

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,12 @@ on preOpenStack
1111
end preOpenStack
1212

1313
on mouseUp
14-
if the short name of the target is "iconList" and \
15-
the selectedIcon of widget "iconList" of me is not empty then
16-
set the dialogData to the selectedIcon of widget "iconList" of me
14+
if the short name of the target is "iconList" then
15+
if the selectedIcon of widget "iconList" of me is not empty then
16+
set the dialogData to the selectedIcon of widget "iconList" of me
17+
end if
18+
close this stack
1719
end if
18-
close this stack
1920
end mouseUp
2021

2122
on openField

0 commit comments

Comments
 (0)