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