From 1298d0c7cf2bd48f99a19cb767efa4813ff4da7c Mon Sep 17 00:00:00 2001 From: Matt Liberty Date: Thu, 3 Aug 2023 10:25:56 -0700 Subject: [PATCH] gui: skip virtual clocks in the clock tree viewer Signed-off-by: Matt Liberty --- src/gui/src/clockWidget.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gui/src/clockWidget.cpp b/src/gui/src/clockWidget.cpp index 188ba694841..d29d71a2dd7 100644 --- a/src/gui/src/clockWidget.cpp +++ b/src/gui/src/clockWidget.cpp @@ -1350,6 +1350,9 @@ void ClockWidget::populate() stagui.setCorner(corner_box_->currentData().value()); for (auto& tree : stagui.getClockTrees()) { + if (!tree->getNet()) { // skip virtual clocks + continue; + } auto* view = new ClockTreeView(tree.release(), &stagui, logger_, this); views_.emplace_back(view); clocks_tab_->addTab(view, view->getClockName());