Skip to content

Hide WidgetParameterItem.defaultBtn if param has no default#1411

Merged
j9ac9k merged 1 commit intopyqtgraph:masterfrom
lidstrom83:WidgetParameterItem.defaultBtn-visibility
Oct 22, 2020
Merged

Hide WidgetParameterItem.defaultBtn if param has no default#1411
j9ac9k merged 1 commit intopyqtgraph:masterfrom
lidstrom83:WidgetParameterItem.defaultBtn-visibility

Conversation

@lidstrom83
Copy link
Copy Markdown
Contributor

Currently the button is both visible and enabled when the parameter has no default. This PR hides it in this case. It could alternatively disable it - I just found this way more visually appealing.

@j9ac9k
Copy link
Copy Markdown
Member

j9ac9k commented Oct 22, 2020

LGTM thanks @lidstrom83

@j9ac9k j9ac9k merged commit cff19f3 into pyqtgraph:master Oct 22, 2020
@lidstrom83 lidstrom83 deleted the WidgetParameterItem.defaultBtn-visibility branch October 22, 2020 17:02
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.

3 participants