mirror of
https://github.com/Microsoft/calculator.git
synced 2025-08-21 22:03:11 -07:00
fix a comment
This commit is contained in:
parent
35724f3fdf
commit
5967a05ed2
1 changed files with 4 additions and 0 deletions
|
@ -1839,6 +1839,10 @@ void CalculatorApp::ViewModel::StandardCalculatorViewModel::Snapshot::set(Calcul
|
||||||
{
|
{
|
||||||
m_standardCalculatorManager.SendCommand(static_cast<Command>(cmd));
|
m_standardCalculatorManager.SendCommand(static_cast<Command>(cmd));
|
||||||
}
|
}
|
||||||
|
if (snapshot->PrimaryDisplay->IsError)
|
||||||
|
{
|
||||||
|
SetPrimaryDisplay(snapshot->PrimaryDisplay->DisplayValue, true);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue