Added conversion to c_str
This commit is contained in:
parent
fcabe8a0f4
commit
f6f1a3265b
1 changed files with 2 additions and 2 deletions
|
@ -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())
|
||||
|
|
Loading…
Reference in a new issue