src/toolsets/basictoolset.cpp

changeset 1065
c8ecddbd99e9
parent 1063
1f15c52c11f6
child 1072
9ce9496427f2
equal deleted inserted replaced
1064:4c7a353cf583 1065:c8ecddbd99e9
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 }

mercurial