mirror of
https://github.com/Microsoft/calculator.git
synced 2025-08-21 05:43:10 -07:00
* fix stackoverflow * space
This commit is contained in:
parent
fcbda43c12
commit
16914230a4
1 changed files with 8 additions and 3 deletions
|
@ -189,7 +189,6 @@ namespace CalculatorApp
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
public void UpdatePanelViewState()
|
||||
{
|
||||
UpdateHistoryState();
|
||||
|
@ -771,9 +770,12 @@ namespace CalculatorApp
|
|||
}
|
||||
|
||||
private void SetChildAsMemory()
|
||||
{
|
||||
if (DockMemoryHolder.Child != GetMemory())
|
||||
{
|
||||
DockMemoryHolder.Child = GetMemory();
|
||||
}
|
||||
}
|
||||
|
||||
private void SetChildAsHistory()
|
||||
{
|
||||
|
@ -782,8 +784,11 @@ namespace CalculatorApp
|
|||
InitializeHistoryView(Model.HistoryVM);
|
||||
}
|
||||
|
||||
if (DockHistoryHolder.Child != m_historyList)
|
||||
{
|
||||
DockHistoryHolder.Child = m_historyList;
|
||||
}
|
||||
}
|
||||
|
||||
private Memory GetMemory()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue