From 319f0e850c44b4afad799d800c4e47677054ee76 Mon Sep 17 00:00:00 2001 From: Rudy Huyn Date: Mon, 16 Mar 2020 12:52:29 -0700 Subject: [PATCH] Don't display the history button when the panel disappears (#1081) --- src/Calculator/Views/Calculator.xaml.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/Calculator/Views/Calculator.xaml.cpp b/src/Calculator/Views/Calculator.xaml.cpp index b272740..40de044 100644 --- a/src/Calculator/Views/Calculator.xaml.cpp +++ b/src/Calculator/Views/Calculator.xaml.cpp @@ -407,10 +407,6 @@ void Calculator::UpdateHistoryState() { // flyout view DockHistoryHolder->Child = nullptr; - if (!IsProgrammer) - { - HistoryButton->Visibility = ::Visibility::Visible; - } } }