Don't display the history button when the panel disappears (#1081)
This commit is contained in:
parent
76fa670f92
commit
319f0e850c
@ -407,10 +407,6 @@ void Calculator::UpdateHistoryState()
|
|||||||
{
|
{
|
||||||
// flyout view
|
// flyout view
|
||||||
DockHistoryHolder->Child = nullptr;
|
DockHistoryHolder->Child = nullptr;
|
||||||
if (!IsProgrammer)
|
|
||||||
{
|
|
||||||
HistoryButton->Visibility = ::Visibility::Visible;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user