Skip to content

Commit 5fbc2a7

Browse files
committed
2 parents d64c19b + 436adf2 commit 5fbc2a7

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

src/ngscopeclient/FilterGraphEditor.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,8 @@ class FilterGraphEditor : public Dialog
162162

163163
std::map<uintptr_t, std::string> GetGroupIDs();
164164

165+
static bool IsBackEdge(FlowGraphNode* src, FlowGraphNode* dst);
166+
165167
protected:
166168
friend class FilterGraphGroup;
167169

@@ -189,7 +191,6 @@ class FilterGraphEditor : public Dialog
189191
void HandleLinkDeletionRequests(Filter*& fReconfigure);
190192
void HandleBackgroundContextMenu();
191193
void DoAddMenu();
192-
bool IsBackEdge(FlowGraphNode* src, FlowGraphNode* dst);
193194

194195
void HandleOverlaps();
195196
void CalculateNodeForces(

src/ngscopeclient/FilterPropertiesDialog.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* *
33
* ngscopeclient *
44
* *
5-
* Copyright (c) 2012-2024 Andrew D. Zonenberg and contributors *
5+
* Copyright (c) 2012-2025 Andrew D. Zonenberg and contributors *
66
* All rights reserved. *
77
* *
88
* Redistribution and use in source and binary forms, with or without modification, are permitted provided that the *
@@ -41,6 +41,7 @@
4141
#include "NFDFileBrowser.h"
4242
#include "../scopehal/ActionProvider.h"
4343
#include "../scopeprotocols/TouchstoneImportFilter.h"
44+
#include "FilterGraphEditor.h"
4445

4546
using namespace std;
4647

@@ -169,6 +170,9 @@ bool FilterPropertiesDialog::DoRender()
169170
int sel = -1;
170171
for(auto stream : streams)
171172
{
173+
if(FilterGraphEditor::IsBackEdge(stream.m_channel, f))
174+
continue;
175+
172176
if(!f->ValidateChannel(i, stream))
173177
continue;
174178

0 commit comments

Comments
 (0)