src/toolsets/basictoolset.cpp

changeset 1375
689121d162b6
parent 1374
d389af23fbfa
child 1391
5fa4bf1fc781
equal deleted inserted replaced
1374:d389af23fbfa 1375:689121d162b6
277 } 277 }
278 278
279 void BasicToolset::edit() 279 void BasicToolset::edit()
280 { 280 {
281 if (countof(selectedObjects()) == 1) 281 if (countof(selectedObjects()) == 1)
282 { 282 ::editObject(this->m_window, *selectedObjects().begin());
283 LDObject* object = *selectedObjects().begin();
284 ::editObject(this->m_window, object);
285 }
286 } 283 }
287 284
288 void BasicToolset::modeSelect() 285 void BasicToolset::modeSelect()
289 { 286 {
290 m_window->renderer()->setEditMode (EditModeType::Select); 287 m_window->renderer()->setEditMode (EditModeType::Select);

mercurial