Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: Fix DICOM table defined stylesheet messing up use with palette #923

Merged
merged 1 commit into from
Jul 30, 2020

Conversation

jamesobutler
Copy link
Contributor

When switching style using palettes as part of some work in 3D Slicer to implement Light and Dark modes this defined stylesheet in the ctkDICOMTableManager was messing things up by not changing when the style in 3D Slicer was dynamically changed after startup. It was flip-flopping and using the previous palette color instead of the currently specified one. Removing this stylesheet solves this issue.

Note to see these exact results in Slicer, one must use the latest of Slicer/Slicer#4993.

On startup After changing style (the issue) After changing style with this PR
image image image

cc: @lassoan

Copy link
Member

@lassoan lassoan left a comment

Choose a reason for hiding this comment

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

This looks good to me, thank you!

@jamesobutler
Copy link
Contributor Author

@lassoan If you want to merge this for me (I'm unable to), I can then issue a commit to my corresponding Slicer dark mode PR that will update the CTK hash.

@lassoan lassoan merged commit ca29bf3 into commontk:master Jul 30, 2020
@jamesobutler jamesobutler deleted the fix-use-with-palette branch July 30, 2020 16:57
@jcfr
Copy link
Member

jcfr commented Jul 30, 2020

If you want to merge this for me (I'm unable to)

@jamesobutler I just added you to the https://github.com/orgs/commontk/teams/team-ctk team, this will give you write access to CTK, AppLauncher and few other repositories.

cc: @commontk/team-ctk , for reference prior contributions of @jamesobutler are listed here

@jamesobutler
Copy link
Contributor Author

Thanks JC!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants