Skip to content

Commit

Permalink
Omit special update routine after 'move to module ...' when moving to…
Browse files Browse the repository at this point in the history
… existing module
  • Loading branch information
joern274 committed Oct 22, 2024
1 parent c1606cb commit 0bc69be
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion plugins/gui/src/netlist_relay/netlist_relay.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -245,9 +245,11 @@ namespace hal
}
else
{
u32 targetModuleId = md.selectedId();
ActionAddItemsToObject* actAddItems = new ActionAddItemsToObject(modIds,gatIds);
actAddItems->setObject(UserActionObject(md.selectedId(),UserActionObjectType::Module));
actAddItems->setObject(UserActionObject(targetModuleId,UserActionObjectType::Module));
compound->addAction(actAddItems);
specialUpdateRequired = false;
}

// move module to position of first content node
Expand Down

0 comments on commit 0bc69be

Please sign in to comment.