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:
		
				
					committed by
					
						
						Howard Wolosky
					
				
			
			
				
	
			
			
			
						parent
						
							109326508f
						
					
				
				
					commit
					5a6c6f4274
				
			@@ -189,7 +189,7 @@ void ApplicationViewModel::OnPasteCommand(Object^ parameter)
 | 
				
			|||||||
    {
 | 
					    {
 | 
				
			||||||
        ConverterViewModel->OnPasteCommand(parameter);
 | 
					        ConverterViewModel->OnPasteCommand(parameter);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    else
 | 
					    else if (NavCategory::IsCalculatorViewMode(m_mode))
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
        CalculatorViewModel->OnPasteCommand(parameter);
 | 
					        CalculatorViewModel->OnPasteCommand(parameter);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user