Skip to content

Issue #2203 Potential Fix: Disabled FlowchartCtrlWidget.nodeRenamed o…#2301

Merged
j9ac9k merged 1 commit intopyqtgraph:masterfrom
HallowedDust5:patch-1
Jun 18, 2022
Merged

Issue #2203 Potential Fix: Disabled FlowchartCtrlWidget.nodeRenamed o…#2301
j9ac9k merged 1 commit intopyqtgraph:masterfrom
HallowedDust5:patch-1

Conversation

@HallowedDust5
Copy link
Copy Markdown
Contributor

…n Input/Output node

In FlowechartCtrlWidget.nodeRenamed, the items dictionary is being used, but the Input and Output nodes are not added to items due to the if statement at line 195. I added the logic of excluding the Input and Output nodes to Flowchart.nodeRenamed.

This maintains current functionality according to issue #2203, unclear if this is expected functionality.

…Renamed on Input/Output node

In [FlowechartCtrlWidget.nodeRenamed](https://github.com/pyqtgraph/pyqtgraph/blob/master/pyqtgraph/flowchart/Flowchart.py#L698), the `items` dictionary is being used, but the Input and Output nodes are not added to `items` due to the if statement at [line 195](https://github.com/pyqtgraph/pyqtgraph/blob/master/pyqtgraph/flowchart/Flowchart.py#L195). I added the logic of excluding the Input and Output nodes to [Flowchart.nodeRenamed](https://github.com/pyqtgraph/pyqtgraph/blob/master/pyqtgraph/flowchart/Flowchart.py#L222).

This maintains current functionality according to issue pyqtgraph#2203, unclear if this is expected functionality.
@j9ac9k
Copy link
Copy Markdown
Member

j9ac9k commented Jun 18, 2022

Hi @HallowedDust5

Thanks for the PR, sorry I didn't get to this earlier, the flowchart module doesn't get a lot of attention so I certainly appreciate the contribution to it.

LGTM, merging.

@j9ac9k j9ac9k merged commit cfc6e38 into pyqtgraph:master Jun 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants