mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 17:31:11 +02:00
cc_item_picture: use image name as default item name
Origin commit data
------------------
Commit: 2f9e566925
Author: Thilo Graf <dbt@novatux.de>
Date: 2020-01-18 (Sat, 18 Jan 2020)
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