From b5b37f5bb56dde0cad8eacbed178fc340001b36c Mon Sep 17 00:00:00 2001 From: Michael Rodenhurst Date: Wed, 8 Aug 2012 20:25:54 +0000 Subject: Shortcut keys for Edit Add and Edit Duplicate. Implement EditDuplicate functionality. --- src/entityproperties.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/entityproperties.cc') diff --git a/src/entityproperties.cc b/src/entityproperties.cc index 08c5088..9efae42 100644 --- a/src/entityproperties.cc +++ b/src/entityproperties.cc @@ -30,6 +30,8 @@ EntityProperties::~EntityProperties() void EntityProperties::assign(const EntityProperties & other) { + Properties::assign(other); + properties_radius = other.properties_radius; properties_subsections = other.properties_subsections; @@ -38,7 +40,7 @@ void EntityProperties::assign(const EntityProperties & other) properties_angles = other.properties_angles; properties_template_type = other.properties_template_type; - properties_template_type = other.properties_template_type; + properties_template_label = other.properties_template_label; } void EntityProperties::add_subsection_header(const QString &header, const QString &comment) -- cgit v1.2.3