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

Commit 84e21e3

Browse files
Merge pull request #2067 from livecode/bugfix-22091
[22091] Ensure selecting the same SVG icon does not cause the icon to disappear
2 parents 6f1e63e + cd9736d commit 84e21e3

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ end preOpenStack
1212

1313
on mouseUp
1414
if the short name of the target is "iconList" then
15-
set the dialogData to the selectedIcon of widget "iconList" of me
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
1618
close this stack
1719
end if
1820
end mouseUp

notes/bugfix-22091.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Ensure selecting the same SVG icon does not cause the icon to disappear

0 commit comments

Comments
 (0)