mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-03 02:41:21 +02:00
cc_item_picture: use image name as default item name
This commit is contained in:
@@ -70,7 +70,7 @@ void CComponentsPicture::init( const int &x_pos, const int &y_pos, const int &w,
|
||||
{
|
||||
//CComponents, CComponentsItem
|
||||
cc_item_type.id = CC_ITEMTYPE_PICTURE;
|
||||
cc_item_type.name = "cc_image_box";
|
||||
cc_item_type.name = image_name.empty() ? "cc_image_box" : image_name;
|
||||
|
||||
//CComponents
|
||||
x = x_old = x_pos;
|
||||
|
Reference in New Issue
Block a user