Skip to content

ParameterTree: Fix custom context menu#1225

Merged
j9ac9k merged 2 commits intopyqtgraph:developfrom
2xB:fix-mergeerror-1175
Jun 6, 2020
Merged

ParameterTree: Fix custom context menu#1225
j9ac9k merged 2 commits intopyqtgraph:developfrom
2xB:fix-mergeerror-1175

Conversation

@2xB
Copy link
Copy Markdown
Contributor

@2xB 2xB commented Jun 6, 2020

This issue was introduced in merging develop into #1175.
While refactoring for the merge, I did not attribute the change in namespace correctly, leading to the parameter opts to be assumed in local namespace when it isn't.

2xB added 2 commits June 6, 2020 15:52
This issue was introduced in merging develop into pyqtgraph#1175.
While refactoring for the merge, the change in namespace was not
correctly attributed, leading to the parameter `opts` to be assumed
in local namespace when it isn't.
Using `opts` as alias for `self.param.opts`, following the style of `updateFlags`.
@2xB
Copy link
Copy Markdown
Contributor Author

2xB commented Jun 6, 2020

The last commit adds opts as alias for self.param.opts in the function contextMenuEvent, following the style of the function updateFlags.

@j9ac9k
Copy link
Copy Markdown
Member

j9ac9k commented Jun 6, 2020

This LGTM, love your simple patch 👍

@j9ac9k j9ac9k merged commit 1c67d3e into pyqtgraph:develop Jun 6, 2020
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