[shared] ListParameterController: reinit hold record when removing it

from the storage
This commit is contained in:
Émilie Feral
2019-03-12 14:05:23 +01:00
parent 4e823e67b6
commit e1450676e0
2 changed files with 2 additions and 1 deletions

View File

@@ -97,6 +97,7 @@ bool ListParameterController::handleEnterOnRow(int rowIndex) {
{
assert(functionStore()->numberOfModels() > 0);
functionStore()->removeModel(m_record);
setRecord(Ion::Storage::Record());
StackViewController * stack = (StackViewController *)(parentResponder());
stack->pop();
return true;