Commit 88b82f6
committed
Add check for parent UI Figure
Previous logic assumed that the parent of the input UI object is the
UI Figure, which is an incorrect assumption. Other containers, like
uipanel, exist and are valid parents for other UI objects but will
cause the object type check to fail.
This type check has been updated to utilize ancestor to obtain the
parent figure window.
See #61 parent f86cace commit 88b82f6
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | | - | |
| 107 | + | |
108 | 108 | | |
109 | 109 | | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
110 | 113 | | |
111 | 114 | | |
112 | 115 | | |
| |||
0 commit comments