From 78568d0e6c9e6a27fa0c8f01cea03ad085bd9cba Mon Sep 17 00:00:00 2001 From: joern274 Date: Wed, 23 Oct 2024 15:50:33 +0200 Subject: [PATCH] Bugfix: remove assert when net not in model --- plugins/gui/src/module_model/module_model.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/gui/src/module_model/module_model.cpp b/plugins/gui/src/module_model/module_model.cpp index 81c2361124e..e4fb97e0d22 100644 --- a/plugins/gui/src/module_model/module_model.cpp +++ b/plugins/gui/src/module_model/module_model.cpp @@ -812,8 +812,8 @@ namespace hal void ModuleModel::updateNetName(u32 id) { Q_ASSERT(gNetlist->get_net_by_id(id)); - Q_ASSERT(mNetMap.contains(id)); + // if net elment not in model loop will reject for (auto it = mNetMap.lowerBound(id); it != mNetMap.upperBound(id); ++it) { ModuleItem* item = it.value();