From 11a80a1e1c8834e484faf7d1f058179f11d5c270 Mon Sep 17 00:00:00 2001 From: SoftFever Date: Wed, 25 Mar 2026 11:35:25 +0800 Subject: [PATCH] Disambiguate state_handler.attach() call in Button.cpp --- src/slic3r/GUI/Widgets/Button.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slic3r/GUI/Widgets/Button.cpp b/src/slic3r/GUI/Widgets/Button.cpp index ef5eb4b339..f096fbe53c 100644 --- a/src/slic3r/GUI/Widgets/Button.cpp +++ b/src/slic3r/GUI/Widgets/Button.cpp @@ -48,7 +48,7 @@ Button::Button(wxWindow* parent, wxString text, wxString icon, long style, int i bool Button::Create(wxWindow* parent, wxString text, wxString icon, long style, int iconSize, wxWindowID btn_id) { StaticBox::Create(parent, btn_id, wxDefaultPosition, wxDefaultSize, style); - state_handler.attach({&text_color}); + state_handler.attach(std::vector{&text_color}); state_handler.update_binds(); //BBS set default font SetFont(Label::Body_14);