From f6f1a3265b259ce0ee812faa10032be6ddfa6090 Mon Sep 17 00:00:00 2001 From: Sebastian Hammerl Date: Tue, 12 Jan 2021 08:54:39 +0100 Subject: [PATCH] Added conversion to c_str --- src/slic3r/GUI/UnsavedChangesDialog.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/slic3r/GUI/UnsavedChangesDialog.cpp b/src/slic3r/GUI/UnsavedChangesDialog.cpp index b4b38b4bd2a..94320374798 100644 --- a/src/slic3r/GUI/UnsavedChangesDialog.cpp +++ b/src/slic3r/GUI/UnsavedChangesDialog.cpp @@ -198,9 +198,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())