CComponentsHeader: add missing init of icon

This commit is contained in:
2014-04-24 22:15:38 +02:00
parent aa46ba6156
commit 1c39d08c60

View File

@@ -177,6 +177,7 @@ void CComponentsHeader::setIcon(const char* icon_name)
void CComponentsHeader::setIcon(const std::string& icon_name) void CComponentsHeader::setIcon(const std::string& icon_name)
{ {
cch_icon_name = icon_name; cch_icon_name = icon_name;
initIcon();
} }
void CComponentsHeader::initIcon() void CComponentsHeader::initIcon()