Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2012-02-19 22:11:38 +0000
committerStijn Buys <ingar@osirion.org>2012-02-19 22:11:38 +0000
commit43c292e1dda7c789a31cdb679065c75d8f8cebba (patch)
treed4ebeebe2adf53d688942f786f42fcdbc21bad1c /src/editorwindow.cc
parentc3afc2172e6a272e330ae6c2a3aad377eb876ba9 (diff)
Added entity type label.
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());