fixed decimal usability in converter section

This commit is contained in:
Declan Gazil 2022-09-23 09:37:30 -04:00
commit 3409ad0af1

View file

@ -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);
} }