0
0
mirror of https://github.com/fralx/LimeReport.git synced 2025-11-25 00:18:06 +03:00

currentObject -> object

This commit is contained in:
Arin Alexander
2019-02-14 21:00:33 +03:00
parent deddd22eb4
commit 2bbd963c18
4 changed files with 5 additions and 7 deletions

View File

@@ -934,7 +934,7 @@ void ReportDesignWindow::slotNewBand(int bandType)
void ReportDesignWindow::slotItemSelected(LimeReport::BaseDesignIntf *item)
{
if (m_objectInspector->currentObject()!=item){
if (m_objectInspector->object()!=item){
m_newSubDetail->setEnabled(false);
m_newSubDetailHeader->setEnabled(false);
@@ -989,7 +989,7 @@ void ReportDesignWindow::slotItemPropertyChanged(const QString &objectName, cons
Q_UNUSED(oldValue)
Q_UNUSED(newValue)
if (m_objectInspector->currentObject()&&(m_objectInspector->currentObject()->objectName()==objectName)){
if (m_objectInspector->object()&&(m_objectInspector->object()->objectName()==objectName)){
m_objectInspector->updateProperty(propertyName);
}
}