Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2012-02-26 19:16:51 +0000
committerStijn Buys <ingar@osirion.org>2012-02-26 19:16:51 +0000
commit06324807359ab34bf1742049ea8b7794d3be126e (patch)
treed37297b4964b10c6c86eec77c6c812910f5a3eb1 /src/mainwindow.cc
parentedaf63323dfb5cff1aa2187bf1e1244c88ed0cae (diff)
Made entity type editable, added default list of entity types.
Diffstat (limited to 'src/mainwindow.cc')
-rw-r--r--src/mainwindow.cc8
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();
+ }
}
}