Skip to content

BUG: Fix LT cursor lost on ROI creation#65

Open
ThomasKierski wants to merge 1 commit intolassoan:masterfrom
ThomasKierski:tk/local-thresh-cursor
Open

BUG: Fix LT cursor lost on ROI creation#65
ThomasKierski wants to merge 1 commit intolassoan:masterfrom
ThomasKierski:tk/local-thresh-cursor

Conversation

@ThomasKierski
Copy link
Copy Markdown
Contributor

The motivation for this PR is to address an issue affecting the local threshold tool which causes the effect-specific cursor to revert to the default arrow-pointer cursor when a user adds an ROI node from the tool's options panel.

This PR depends on Slicer/Slicer#8763


self.scriptedEffect.parameterSetNode().SetNodeReferenceID(self.ROI_NODE_REFERENCE_ROLE, self.roiSelector.currentNodeID)

# restore the effect-specific cursor in the case where the user has created a new ROI using the roiSelector combobox
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please fix indentation of comment.

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