From 56bf501e3d7472746aeb1f449f358971364573a5 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Tue, 13 Mar 2018 20:02:24 +0100 Subject: [PATCH] cc_frm_icons.cpp: add missing call of addIcon(); Parameter v_icon_names was without effect. --- src/gui/components/cc_frm_icons.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/components/cc_frm_icons.cpp b/src/gui/components/cc_frm_icons.cpp index 915930110..f0ae5b90d 100644 --- a/src/gui/components/cc_frm_icons.cpp +++ b/src/gui/components/cc_frm_icons.cpp @@ -3,7 +3,7 @@ Copyright (C) 2001 by Steffen Hehn 'McClean' Classes for generic GUI-related components. - Copyright (C) 2012, 2013, 2014 Thilo Graf 'dbt' + Copyright (C) 2012-2018 Thilo Graf 'dbt' Copyright (C) 2012, Michael Liebmann 'micha-bbg' License: GPL @@ -70,8 +70,8 @@ void CComponentsIconForm::initVarIconForm( const int &x_pos, const int &y_pos, c append_y_offset = 2; - initChainItems(); initParent(parent); + addIcon(v_icons); } void CComponentsIconForm::addIcon(const std::string& icon_name)