src/gui_actions.cpp

changeset 497
c51941e590b6
parent 493
16766ac1bbd9
child 498
791c831c8020
equal deleted inserted replaced
496:d6cbf21af8fb 497:c51941e590b6
228 { AddObjectDialog::staticDialog (LDObject::Vertex, null); 228 { AddObjectDialog::staticDialog (LDObject::Vertex, null);
229 } 229 }
230 230
231 // ============================================================================= 231 // =============================================================================
232 // ----------------------------------------------------------------------------- 232 // -----------------------------------------------------------------------------
233 DEFINE_ACTION (MakePrimitive, 0)
234 { generatePrimitive();
235 }
236
237 // =============================================================================
238 // -----------------------------------------------------------------------------
239 DEFINE_ACTION (Edit, 0) 233 DEFINE_ACTION (Edit, 0)
240 { if (g_win->sel().size() != 1) 234 { if (g_win->sel().size() != 1)
241 return; 235 return;
242 236
243 LDObject* obj = g_win->sel() [0]; 237 LDObject* obj = g_win->sel() [0];

mercurial