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 Ribbon.OnTitleBarChanged clearing the new title bar instead of the old one #450

Merged
merged 2 commits into from
Jul 22, 2017

Conversation

Cubey2019
Copy link
Contributor

Fixed Ribbon.OnTitleBarChanged not using the 'old value' when clearing the title bar properties (a null reference exception was being thrown when the new value is null).

For this to work the RemoveQuickAccessToolBarFromTitleBar and MoveQuickAccessToolBarToTitleBar methods now have a parameter to specify the RibbonTitleBar instance to act on.

…g the title bar properties.

RemoveQuickAccessToolBarFromTitleBar and MoveQuickAccessToolBarToTitleBar now require a reference to the TitleBar instance to be passed in.
… instead of expecting the template to provide one.
@batzen batzen merged commit 0b5c009 into fluentribbon:develop Jul 22, 2017
@batzen
Copy link
Member

batzen commented Jul 22, 2017

Thanks for contributing!

@Cubey2019 Cubey2019 deleted the fixes branch July 24, 2017 01:46
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