mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-07-09 06:51:46 +08:00
Fixed bug with case-sensitive name of icon (for Linux build)
This commit is contained in:
parent
c52f51b1e4
commit
dd7712d4d3
@ -23,7 +23,7 @@ namespace Slic3r { namespace GUI {
|
|||||||
// use bouth of temporary_icons till don't have "undo_icon"
|
// use bouth of temporary_icons till don't have "undo_icon"
|
||||||
auto color = wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOW);
|
auto color = wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOW);
|
||||||
if (wxMSW) m_Undo_btn->SetBackgroundColour(color);
|
if (wxMSW) m_Undo_btn->SetBackgroundColour(color);
|
||||||
m_Undo_btn->SetBitmap(wxBitmap(from_u8(var("Bullet_white.png")), wxBITMAP_TYPE_PNG));
|
m_Undo_btn->SetBitmap(wxBitmap(from_u8(var("bullet_white.png")), wxBITMAP_TYPE_PNG));
|
||||||
m_Undo_btn->Bind(wxEVT_BUTTON, ([this](wxCommandEvent){ on_back_to_initial_value(); }));
|
m_Undo_btn->Bind(wxEVT_BUTTON, ([this](wxCommandEvent){ on_back_to_initial_value(); }));
|
||||||
|
|
||||||
BUILD();
|
BUILD();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user