-
Notifications
You must be signed in to change notification settings - Fork 466
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
Don't disable display if associated widget tab changes #1739
Don't disable display if associated widget tab changes #1739
Conversation
b015890
to
7d628ff
Compare
7d628ff
to
4804a5e
Compare
This reverts commit 4804a5e.
This PR requires more work: Lines 370 to 372 in 1f622b8
However, by doing so, the widget doesn't become visible anymore if re-enabled. |
Since it seems like there are two valid use cases; would it make sense to add a second parameter to the method for adding the associated widget to indicate which functionality is desired? |
…get_panel_ We need the flag just to suppress hiding of the associated widget if it became an unselected tab
fa180af
to
4455043
Compare
I agree that an extra boolean flag would be most clear to the users. |
@Levi-Armstrong, do you think this PR (and #1739 (comment)) works for you? |
I think so. I will pull this down and confirm. |
Fixes #1738
If an associated widget is tabbed and deselected, its visibility changes to false, which triggers disabling the display.
However, in this case, the widget is still there and thus the display shouldn't be disabled.