diff options
author | Stijn Buys <ingar@osirion.org> | 2012-02-26 19:16:51 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2012-02-26 19:16:51 +0000 |
commit | 06324807359ab34bf1742049ea8b7794d3be126e (patch) | |
tree | d37297b4964b10c6c86eec77c6c812910f5a3eb1 /src/mainwindow.cc | |
parent | edaf63323dfb5cff1aa2187bf1e1244c88ed0cae (diff) |
Made entity type editable, added default list of entity types.
Diffstat (limited to 'src/mainwindow.cc')
-rw-r--r-- | src/mainwindow.cc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/mainwindow.cc b/src/mainwindow.cc index 18f9630..414c07b 100644 --- a/src/mainwindow.cc +++ b/src/mainwindow.cc @@ -214,12 +214,16 @@ void MainWindow::slot_add() void MainWindow::slot_delete() { - qDebug() << "slot_delete"; + if (active_child()) { + active_child()->deleteSelected(); + } } void MainWindow::slot_duplicate() { - qDebug() << "slot_duplicate"; + if (active_child()) { + active_child()->duplicateSelected(); + } } } |