mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
FIX: ams count dialog not default button
Change-Id: I5eb563d734953d185425f745acac3cfb3eadb4a4 Jira: STUDIO-9936 (cherry picked from commit a5acf20506aeb4c2720dbe367ae5651dda88df7f)
This commit is contained in:
@@ -2446,7 +2446,7 @@ void AMSPreview::doRender(wxDC &dc)
|
||||
|
||||
dc.SetPen(wxPen(*wxTRANSPARENT_PEN));
|
||||
|
||||
if (wxWindow::IsEnabled()) {
|
||||
if (wxWindow::IsThisEnabled()) {
|
||||
wxColour color = iter->material_colour;
|
||||
change_the_opacity(color);
|
||||
dc.SetBrush(wxBrush(color));
|
||||
|
||||
Reference in New Issue
Block a user