diff options
author | Lukáš Lalinský <lalinsky@gmail.com> | 2008-12-03 10:28:24 +0100 |
---|---|---|
committer | Lukáš Lalinský <lalinsky@gmail.com> | 2008-12-03 10:28:24 +0100 |
commit | c722028fd1d333e185e11baf41519f51b93df2ae (patch) | |
tree | e4ff81efd98e42af991280bb7eb1377962085b6c /tableproperties.cpp | |
parent | 12f465eb8ad1fe6f6c0d2c3e261fe1bb88f33d10 (diff) | |
download | dbmodel-c722028fd1d333e185e11baf41519f51b93df2ae.tar.xz |
Convert EditTableNameCommand to more generic SetObjectPropertyCommand
Diffstat (limited to 'tableproperties.cpp')
-rw-r--r-- | tableproperties.cpp | 2 |
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)); } } |