summaryrefslogtreecommitdiff
path: root/tableproperties.cpp
diff options
context:
space:
mode:
authorLukáš Lalinský <lalinsky@gmail.com>2008-12-03 10:28:24 +0100
committerLukáš Lalinský <lalinsky@gmail.com>2008-12-03 10:28:24 +0100
commitc722028fd1d333e185e11baf41519f51b93df2ae (patch)
treee4ff81efd98e42af991280bb7eb1377962085b6c /tableproperties.cpp
parent12f465eb8ad1fe6f6c0d2c3e261fe1bb88f33d10 (diff)
downloaddbmodel-c722028fd1d333e185e11baf41519f51b93df2ae.tar.xz
Convert EditTableNameCommand to more generic SetObjectPropertyCommand
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));
}
}