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

View File

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