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

fix text color in amount edit widget for dark style #210

Merged
merged 1 commit into from
May 27, 2022

Commits on May 27, 2022

  1. fix ColorScheme for dark style

    The second call to `ColorScheme.update_from_widget` did not take the user setting  (`force_dark`) into consideration, so it overwrote the ColorScheme setting. This is strange because I would expect the first call to change the stylesheet, and so make the second call autodetect that the dark theme is in use via `ColorScheme.has_dark_background`, but it somehow does not work. Maybe Qt change something in the way the stylesheet is applied, and it is not taken into account by the time the second call occurs.
    
    This changes the behavior to the one used by electrum. Hopefully there aren't too many Electrum ABC plugins messing with the color theme.
    PiRK committed May 27, 2022
    Configuration menu
    Copy the full SHA
    cf04dbc View commit details
    Browse the repository at this point in the history