mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-23 15:50:49 +01:00
[Shared/store_parameter_controler] Fixed a bug
In stats when selecting an action on a column, all actions listed after the one selected were applied. Adding breaks to the switch solved the issue Change-Id: I4a2f8a41f734a209abb17e76388eed551bf1769c
This commit is contained in:
committed by
Émilie Feral
parent
9e12b61849
commit
22a15f5ed6
@@ -51,10 +51,12 @@ bool StoreParameterController::handleEvent(Ion::Events::Event event) {
|
||||
} else {
|
||||
m_store->resetColumn(m_series, !m_xColumnSelected);
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 1:
|
||||
{
|
||||
m_storeController->displayFormulaInput();
|
||||
break;
|
||||
}
|
||||
case 2:
|
||||
{
|
||||
@@ -85,6 +87,7 @@ bool StoreParameterController::handleEvent(Ion::Events::Event event) {
|
||||
} else {
|
||||
Poincare::Helpers::Sort(swapRows, compareY, (m_store->data() + m_series), m_store->numberOfPairsOfSeries(m_series));
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
assert(selectedRow() >= 0 && selectedRow() <= 2);
|
||||
|
||||
Reference in New Issue
Block a user