0
0
mirror of https://github.com/fralx/LimeReport.git synced 2025-09-26 17:59:08 +03:00

Finish 1.4.100

This commit is contained in:
Arin Alex
2018-08-21 19:37:41 +03:00
3 changed files with 10 additions and 5 deletions

View File

@@ -1944,7 +1944,7 @@ CommandIf::Ptr CutCommand::create(PageDesignIntf *page)
ItemsWriterIntf *writer = new XMLWriter();
foreach(QGraphicsItem * item, page->selectedItems()) {
if (!dynamic_cast<PageItemDesignIntf*>(item)){
BaseDesignIntf *reportItem = dynamic_cast<BaseDesignIntf *>(item);
ItemDesignIntf *reportItem = dynamic_cast<ItemDesignIntf *>(item);
if (reportItem) {
command->m_itemNames.push_back(reportItem->objectName());