summaryrefslogtreecommitdiff
path: root/tableproperties.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tableproperties.cpp')
-rw-r--r--tableproperties.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tableproperties.cpp b/tableproperties.cpp
index e319c04..cfa95f7 100644
--- a/tableproperties.cpp
+++ b/tableproperties.cpp
@@ -42,7 +42,7 @@ void
TableProperties::setSelectedTableName(const QString &name)
{
if (m_table) {
- m_window->currentUndoStack()->push(new EditTableNameCommand(m_table, name));
+ m_window->currentUndoStack()->push(new SetObjectPropertyCommand(m_table, "name", name));
}
}