[squeak-dev] [BUG] ObjectExplorer menu
karl ramberg
karlramberg at gmail.com
Mon May 18 17:09:06 UTC 2015
ObjectExplorer will fail to open a yellow button menu if you explore values
that change while you are exploring them.
The method updateInspectorSelection uses assert: to check if objects are
the same as in a inspector, which they are not because they have changed in
the background.
I think this should be fixed before we release.
ObjectExplorer>>updateInspectorForSelection
"Reuse the inspector for some callbacks."
self inspector inspect: (self parentObject ifNil: [self object]).
self parentObject
ifNil: [self inspector toggleIndex: 1. "self"]
ifNotNil: [
self inspector toggleIndex: (self inspector fieldList indexOf: self
currentSelection key)].
self assert: self inspector selection == self object.
Karl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20150518/41734088/attachment.htm
More information about the Squeak-dev
mailing list
|