Skip to content

Commit 0bc69be

Browse files
committed
Omit special update routine after 'move to module ...' when moving to existing module
1 parent c1606cb commit 0bc69be

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

plugins/gui/src/netlist_relay/netlist_relay.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,9 +245,11 @@ namespace hal
245245
}
246246
else
247247
{
248+
u32 targetModuleId = md.selectedId();
248249
ActionAddItemsToObject* actAddItems = new ActionAddItemsToObject(modIds,gatIds);
249-
actAddItems->setObject(UserActionObject(md.selectedId(),UserActionObjectType::Module));
250+
actAddItems->setObject(UserActionObject(targetModuleId,UserActionObjectType::Module));
250251
compound->addAction(actAddItems);
252+
specialUpdateRequired = false;
251253
}
252254

253255
// move module to position of first content node

0 commit comments

Comments
 (0)