From 43c292e1dda7c789a31cdb679065c75d8f8cebba Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 19 Feb 2012 22:11:38 +0000 Subject: Added entity type label. --- src/editorwindow.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'src/editorwindow.cc') 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()); -- cgit v1.2.3