Macro player, selection list
Bug #1816659 reported by
hilaire
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Dr. Geo |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
From the macro player dialog, when ever a macro is selected in the top list, it turns immediately un-selected. The macro is however logically selected as it is then possible to play it in the figure.
Moreover, when inspecting the PluggableList, some of the macro title are Text instance instead of String instance.
Related branches
Changed in drgeo: | |
status: | New → Fix Committed |
Changed in drgeo: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fix as bellow: (last line)!
DrGMacroNode>>= aNode
"This is what we expect for input item of the macro.
Handle carrefully when this is a script node"
| answer |
answer := self basicType = aNode basicType
and: [itemTemplate basicType = aNode itemTemplate basicType
and: [itemTemplate nodeType = aNode itemTemplate nodeType]].
^ answer & itemTemplate isScriptItem
ifTrue: [itemTemplate script == aNode itemTemplate script]
ifFalse: [answer]