MCPcopy Create free account
hub / github.com/LibrePCB/LibrePCB / setUnit

Method setUnit

libs/librepcb/editor/cmd/cmdattributeedit.cpp:72–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70}
71
72void CmdAttributeEdit::setUnit(const AttributeUnit* unit) noexcept {
73 Q_ASSERT(!wasEverExecuted());
74 mNewUnit = unit;
75}
76
77/*******************************************************************************
78 * Inherited from UndoCommand

Callers 1

setLengthUnitMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected