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.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mainwindow.cc b/src/mainwindow.cc
index 6985506..18f9630 100644
--- a/src/mainwindow.cc
+++ b/src/mainwindow.cc
@@ -207,7 +207,9 @@ void MainWindow::slot_save()
void MainWindow::slot_add()
{
- qDebug() << "slot_add";
+ if (active_child()) {
+ active_child()->addEntity();
+ }
}
void MainWindow::slot_delete()