Added functionality to manage time lines, objects and rooms too

This commit is contained in:
2022-01-10 01:43:41 +01:00
parent ea75ad2151
commit 2a21ffb8c7
25 changed files with 1128 additions and 1828 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ void BackgroundPropertiesDialog::accept()
{
if (m_background.name != m_ui->lineEditName->text())
{
if (!m_projectModel.renameBackground(m_background, m_ui->lineEditName->text()))
if (!m_projectModel.rename<Background>(m_background, m_ui->lineEditName->text()))
{
QMessageBox::critical(this, tr("Renaming Background failed!"), tr("Renaming Background failed!"));
return;