mirror of
https://github.com/fralx/LimeReport.git
synced 2025-09-27 02:09:09 +03:00
Fixes a few instances where nullptrs might be dereferenced
This commit is contained in:
@@ -2169,7 +2169,7 @@ void PropertyItemAlignChangedCommand::undoIt()
|
||||
if (reportItem && (reportItem->property(m_propertyName.toLatin1()) != m_oldValue)) {
|
||||
reportItem->setProperty(m_propertyName.toLatin1(), m_oldValue);
|
||||
}
|
||||
if (m_oldValue == BaseDesignIntf::DesignedItemAlign){
|
||||
if (reportItem && (m_oldValue == BaseDesignIntf::DesignedItemAlign)){
|
||||
reportItem->setPos(m_savedPos);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user