mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 12:40:35 +01:00
Improve undo command when add/move/remove terminal in/from/to terminal strip
This commit is contained in:
@@ -141,6 +141,11 @@ bool PhysicalTerminal::setLevelOf(const QSharedPointer<RealTerminal> &terminal,
|
||||
return false;
|
||||
}
|
||||
|
||||
void PhysicalTerminal::setParentStrip(TerminalStrip *strip)
|
||||
{
|
||||
m_parent_terminal_strip = strip;
|
||||
}
|
||||
|
||||
PhysicalTerminal::~PhysicalTerminal()
|
||||
{
|
||||
for (const auto &real_t : m_real_terminal) {
|
||||
|
||||
Reference in New Issue
Block a user