mirror of https://github.com/KLayout/klayout.git
Marek's bug: move interactive/copy interactive did not do anything when the mouse wasn't moved
This commit is contained in:
parent
b21f253cf8
commit
c8d307c914
|
|
@ -626,7 +626,7 @@ Editables::end_move (const db::DVector &v, db::Transaction *transaction)
|
|||
{
|
||||
std::unique_ptr<db::Transaction> trans_holder (transaction ? transaction : new db::Transaction (manager (), tl::to_string (tr ("Move"))));
|
||||
|
||||
if (m_any_move_operation) {
|
||||
if (m_any_move_operation || v != db::DVector ()) {
|
||||
|
||||
trans_holder->open ();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue