Verified Commit c94d3837 authored by Antonio Prcela's avatar Antonio Prcela 🏞
Browse files

Add missing arcsin

parent 4555310d
...@@ -1009,7 +1009,7 @@ void KCalculator::slotSinclicked() ...@@ -1009,7 +1009,7 @@ void KCalculator::slotSinclicked()
calc_history->addFuncToHistory(QStringLiteral("sinh")); calc_history->addFuncToHistory(QStringLiteral("sinh"));
core.SinHyp(calc_display->getAmount()); core.SinHyp(calc_display->getAmount());
} else { } else {
calc_history->addFuncToHistory(QStringLiteral("arcsin")); calc_history->addFuncToHistory(QStringLiteral("arcsinh"));
core.AreaSinHyp(calc_display->getAmount()); core.AreaSinHyp(calc_display->getAmount());
} }
} else { } else {
...@@ -1028,6 +1028,7 @@ void KCalculator::slotSinclicked() ...@@ -1028,6 +1028,7 @@ void KCalculator::slotSinclicked()
break; break;
} }
} else { } else {
calc_history->addFuncToHistory(QStringLiteral("arcsin"));
switch (angle_mode_) { switch (angle_mode_) {
case DegMode: case DegMode:
core.ArcSinDeg(calc_display->getAmount()); core.ArcSinDeg(calc_display->getAmount());
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment