diff --git a/collects/drracket/private/module-language-tools.rkt b/collects/drracket/private/module-language-tools.rkt index 0ef4198a2a..cd21451c67 100644 --- a/collects/drracket/private/module-language-tools.rkt +++ b/collects/drracket/private/module-language-tools.rkt @@ -41,7 +41,9 @@ (λ (old-button) (send (get-frame) remove-toolbar-button old-button)) toolbar-buttons) (set! toolbar-buttons bs) - (send (get-frame) register-toolbar-buttons toolbar-buttons)) + (send (get-frame) register-toolbar-buttons toolbar-buttons) + (send (send (get-frame) get-toolbar-button-panel) change-children + (λ (l) toolbar-buttons))) (super-new))) (define frame<%> (interface ()))