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

Commit e21ea31

Browse files
committed
[22091] Ensure selecting the same SVG icon does not cause the icon to disappear
1 parent 531a3e1 commit e21ea31

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,11 @@ on preOpenStack
1111
end preOpenStack
1212

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

2021
on openField

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)