Skip to content

Commit

Permalink
Fixes #13 by not setting IsOpen to false when the template is change …
Browse files Browse the repository at this point in the history
…but hiding and showing the backstage instead (we have to destroy the adorner)
  • Loading branch information
batzen committed Nov 16, 2014
1 parent cdce0b1 commit d4ead88
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Fluent/Controls/Backstage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -640,10 +640,14 @@ public override void OnApplyTemplate()
if (this.IsOpen)
{
this.Hide();
this.IsOpen = false;
}

this.DestroyAdorner();

if (this.IsOpen)
{
this.Show();
}
}

#endregion
Expand Down

0 comments on commit d4ead88

Please sign in to comment.