mirror of
https://github.com/Microsoft/calculator.git
synced 2025-08-14 10:36:50 -07:00
Prevent the application to crash when the current page is Date Calculation and users paste a text (#391)
Fix the else condition in ApplicationViewModel::OnPaste How changes were validated: Manually Fixes #389
This commit is contained in:
parent
109326508f
commit
5a6c6f4274
1 changed files with 1 additions and 1 deletions
|
@ -189,7 +189,7 @@ void ApplicationViewModel::OnPasteCommand(Object^ parameter)
|
|||
{
|
||||
ConverterViewModel->OnPasteCommand(parameter);
|
||||
}
|
||||
else
|
||||
else if (NavCategory::IsCalculatorViewMode(m_mode))
|
||||
{
|
||||
CalculatorViewModel->OnPasteCommand(parameter);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue