Don't display the history button when the panel disappears (#1081)

This commit is contained in:
Rudy Huyn 2020-03-16 12:52:29 -07:00 committed by GitHub
parent 76fa670f92
commit 319f0e850c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -407,10 +407,6 @@ void Calculator::UpdateHistoryState()
{ {
// flyout view // flyout view
DockHistoryHolder->Child = nullptr; DockHistoryHolder->Child = nullptr;
if (!IsProgrammer)
{
HistoryButton->Visibility = ::Visibility::Visible;
}
} }
} }