mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-24 16:20:49 +01:00
[poincare] Clean: convertFloatToText should be in PrintFloat instead of
Complex
This commit is contained in:
committed by
EmilieNumworks
parent
d9150d4faa
commit
6de71ae145
@@ -256,7 +256,7 @@ void SubController::setPreferenceWithValueIndex(I18n::Message message, int value
|
||||
Preferences::sharedPreferences()->setAngleUnit((Expression::AngleUnit)valueIndex);
|
||||
}
|
||||
if (message == I18n::Message::DisplayMode) {
|
||||
Preferences::sharedPreferences()->setDisplayMode((Expression::FloatDisplayMode)valueIndex);
|
||||
Preferences::sharedPreferences()->setDisplayMode((PrintFloat::Mode)valueIndex);
|
||||
}
|
||||
if (message == I18n::Message::ComplexFormat) {
|
||||
Preferences::sharedPreferences()->setComplexFormat((Expression::ComplexFormat)valueIndex);
|
||||
|
||||
Reference in New Issue
Block a user