259 AddObjectDialog::staticDialog (OBJ_Bfc, nullptr); |
259 AddObjectDialog::staticDialog (OBJ_Bfc, nullptr); |
260 } |
260 } |
261 |
261 |
262 void BasicToolset::edit() |
262 void BasicToolset::edit() |
263 { |
263 { |
264 if (length(selectedObjects()) == 1) |
264 if (countof(selectedObjects()) == 1) |
265 { |
265 { |
266 LDObject* obj = selectedObjects().first(); |
266 LDObject* obj = selectedObjects().first(); |
267 AddObjectDialog::staticDialog (obj->type(), obj); |
267 AddObjectDialog::staticDialog (obj->type(), obj); |
268 } |
268 } |
269 } |
269 } |