Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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();
+ }
}
}