Skip to content

Commit

Permalink
Merge pull request #5752 from sebastianha/master
Browse files Browse the repository at this point in the history
Error compiling on Linux
  • Loading branch information
bubnikv committed Feb 10, 2021
2 parents a5972e6 + f6f1a32 commit f050bf7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/slic3r/GUI/UnsavedChangesDialog.cpp
Expand Up @@ -201,9 +201,9 @@ void ModelNode::UpdateIcons()
{
// update icons for the colors, if any exists
if (!m_old_color.IsEmpty())
m_old_color_bmp = get_bitmap(m_toggle ? m_old_color : grey);
m_old_color_bmp = get_bitmap(m_toggle ? m_old_color : grey.c_str());
if (!m_new_color.IsEmpty())
m_new_color_bmp = get_bitmap(m_toggle ? m_new_color : grey);
m_new_color_bmp = get_bitmap(m_toggle ? m_new_color : grey.c_str());

// update main icon, if any exists
if (m_icon_name.empty())
Expand Down

0 comments on commit f050bf7

Please sign in to comment.