mirror of
https://github.com/python-LimeReport/LimeReport.git
synced 2025-10-01 19:51:31 +03:00
Property editing of multi selected objects has been fixed
This commit is contained in:
@@ -46,7 +46,8 @@ ObjectPropItem::ObjectPropItem(QObject *object, ObjectsList* objects, const QStr
|
||||
{
|
||||
if (parent) setModel(parent->model());
|
||||
m_index=QModelIndex();
|
||||
if (objects) foreach(QObject* item, *objects) m_objects.append(item);
|
||||
//if (objects) foreach(QObject* item, *objects) m_objects.append(item);
|
||||
m_objects = objects;
|
||||
#ifdef INSPECT_BASEDESIGN
|
||||
BaseDesignIntf * item = dynamic_cast<BaseDesignIntf*>(object);
|
||||
if (item){
|
||||
@@ -63,7 +64,8 @@ ObjectPropItem::ObjectPropItem(QObject *object, ObjectsList* objects, const QStr
|
||||
{
|
||||
if (parent) setModel(parent->model());
|
||||
m_index=QModelIndex();
|
||||
if (objects) foreach(QObject* item, *objects) m_objects.append(item);
|
||||
//if (objects) foreach(QObject* item, *objects) m_objects.append(item);
|
||||
m_objects = objects;
|
||||
#ifdef INSPECT_BASEDESIGN
|
||||
BaseDesignIntf * item = dynamic_cast<BaseDesignIntf*>(object);
|
||||
if (item){
|
||||
|
Reference in New Issue
Block a user