mirror of
https://github.com/python-LimeReport/LimeReport.git
synced 2025-09-23 08:39:07 +03:00
Merge branch 'develop' into feature/Feature-TOC
This commit is contained in:
@@ -822,7 +822,12 @@ void ReportDesignWidget::slotPagePropertyObjectNameChanged(const QString &oldVal
|
||||
{
|
||||
for (int i = 0; i < m_tabWidget->count(); ++i ){
|
||||
if (m_tabWidget->tabText(i).compare(oldValue) == 0){
|
||||
m_tabWidget->setTabText(i, newValue);
|
||||
QGraphicsView* view = dynamic_cast<QGraphicsView*>(m_tabWidget->widget(i));
|
||||
if (view){
|
||||
PageDesignIntf* page = dynamic_cast<PageDesignIntf*>(view->scene());
|
||||
if (page->pageItem() == sender())
|
||||
m_tabWidget->setTabText(i, newValue);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user