mirror of https://github.com/KLayout/klayout.git
Refinement of the undo fix.
This commit is contained in:
parent
3097ed1929
commit
36d8c08d22
|
|
@ -159,12 +159,11 @@ Manager::cancel ()
|
|||
++m_current;
|
||||
undo ();
|
||||
|
||||
} else {
|
||||
// empty transactions .. just delete
|
||||
erase_transactions (m_current, m_transactions.end ());
|
||||
m_current = m_transactions.end ();
|
||||
}
|
||||
|
||||
erase_transactions (m_current, m_transactions.end ());
|
||||
m_current = m_transactions.end ();
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue