mirror of
https://github.com/Microsoft/calculator.git
synced 2025-08-22 06:13:14 -07:00
fixed decimal usability in converter section
This commit is contained in:
parent
d9a32fdf4f
commit
3409ad0af1
1 changed files with 2 additions and 0 deletions
|
@ -177,6 +177,8 @@ void UnitConverterViewModel::ResetCategory()
|
||||||
IsCurrencyLoadingVisible = m_IsCurrencyCurrentCategory && !m_isCurrencyDataLoaded;
|
IsCurrencyLoadingVisible = m_IsCurrencyCurrentCategory && !m_isCurrencyDataLoaded;
|
||||||
IsDropDownEnabled = m_Units->GetAt(0) != EMPTY_UNIT;
|
IsDropDownEnabled = m_Units->GetAt(0) != EMPTY_UNIT;
|
||||||
|
|
||||||
|
IsDecimalEnabled = true;
|
||||||
|
|
||||||
UnitChanged->Execute(nullptr);
|
UnitChanged->Execute(nullptr);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue