[spec| On update

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[spec| On update

HilaireFernandes

Hi,

When my source code presenter content is edited I want to change the badge of a toolbar button. In the code bellow, the block is executed but the button badge does not change. You have to move the whole window to get the badge updated accordingly.

    source whenTextChangedDo: [:txt |
        saveBtn badge: '*'.
        self update: saveBtnself].

What update mechanism am I missing?

Is it observable slot things?

Hilaire

-- 
Dr. Geo
http://drgeo.eu