mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-12 21:29:00 +08:00
call Realize() function on toolbar.
This commit is contained in:
parent
5cdc039d9f
commit
41648ef7e2
@ -568,6 +568,8 @@ void Plater::build_toolbar() {
|
||||
toolbar->AddTool(TB_SETTINGS, _(L"Settings…"), wxBitmap(var("cog.png"), wxBITMAP_TYPE_PNG));
|
||||
toolbar->AddTool(TB_LAYERS, _(L"Layer heights…"), wxBitmap(var("variable_layer_height.png"), wxBITMAP_TYPE_PNG));
|
||||
|
||||
toolbar->Realize();
|
||||
|
||||
|
||||
toolbar->Bind(wxEVT_TOOL, [this](wxCommandEvent &e) { this->add(); }, TB_ADD);
|
||||
toolbar->Bind(wxEVT_TOOL, [this](wxCommandEvent &e) { this->remove(); }, TB_REMOVE);
|
||||
|
Loading…
x
Reference in New Issue
Block a user