MCPcopy Create free account
hub / github.com/KLayout/klayout / cancel_transaction

Method cancel_transaction

src/laybasic/laybasic/layMove.cc:449–458  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

447}
448
449void
450MoveService::cancel_transaction ()
451{
452 if (m_dragging) {
453 if (mp_transaction.get ()) {
454 mp_transaction->cancel ();
455 }
456 mp_transaction.reset (0);
457 }
458}
459
460void
461MoveService::finish_transaction ()

Callers 1

cancel_editsMethod · 0.80

Calls 3

getMethod · 0.45
cancelMethod · 0.45
resetMethod · 0.45

Tested by

no test coverage detected