diff options
Diffstat (limited to 'src/editorwindow.cc')
-rw-r--r-- | src/editorwindow.cc | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/editorwindow.cc b/src/editorwindow.cc index f54bd6e..88a309b 100644 --- a/src/editorwindow.cc +++ b/src/editorwindow.cc @@ -41,13 +41,6 @@ QSize EditorWindow::sizeHint () const void EditorWindow::resizeEvent (QResizeEvent *event) { - /* - editorwindow_sidebar->resize(256, height()); - editorwindow_mapwidget->setGeometry( - editorwindow_sidebar->width(), 0, - width() - editorwindow_sidebar->width(), height() - ); - */ editorwindow_splitter->resize(width(), height()); } @@ -245,7 +238,7 @@ bool EditorWindow::saveFile(const QString &filename) void EditorWindow::addEntity() { EntityWidget *entitywidget = editorwindow_mapwidget->addEntity(); - entitywidget->properties()->set_type("entity"); + editorwindow_mapwidget->select(entitywidget); } void EditorWindow::duplicateSelected() |