Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/editorwindow.cc')
-rw-r--r--src/editorwindow.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/editorwindow.cc b/src/editorwindow.cc
index 5ae0be8..759263f 100644
--- a/src/editorwindow.cc
+++ b/src/editorwindow.cc
@@ -115,6 +115,7 @@ bool EditorWindow::loadFile(const QString &filename)
if (in_entity) {
entity = editorwindow_mapwidget->addEntity();
+ entity->properties()->set_type(ini.section());
}
if (entity && in_subsection) {
entity->properties()->add_subsection(ini.section());