273 { |
273 { |
274 LDObject* object = lookup(index); |
274 LDObject* object = lookup(index); |
275 history()->add<AddHistoryEntry>(index); |
275 history()->add<AddHistoryEntry>(index); |
276 connect( |
276 connect( |
277 object, |
277 object, |
278 SIGNAL(codeChanged(LDObjectState, LDObjectState)), |
278 SIGNAL(modified(LDObjectState, LDObjectState)), |
279 this, |
279 this, |
280 SLOT(objectChanged(LDObjectState, LDObjectState)) |
280 SLOT(objectChanged(LDObjectState, LDObjectState)) |
281 ); |
281 ); |
282 connect( |
282 connect( |
283 this, |
283 this, |