diff options
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(); + } } } |