Changing Tab name after the UI has been build fails, since it tries to set
the label to MorphicTabAdapter instead of Tab.

I could fix it by changing in TabModel>>initialize

label whenChangedDo: [ :new | self widget ifNotNil: [ :w | w label: new ] ].
to
label whenChangedDo: [ :new | self widget ifNotNil: [ :w | w widget label:
new ] ].

but setting it this way feels weird (not mentioning Demeter).
Maybe the MorphicTabAdapter should delegate it?

Apart from label this also applies to icon and most likely to all other
stuff (morph, retrievingBlock, ...)

Peter

Reply via email to