[apps] Reinit inputFormulaView text before edition

This commit is contained in:
Léa Saviot
2018-11-16 17:38:34 +01:00
committed by Émilie Feral
parent 824ffd9c21
commit 71c848e7df

View File

@@ -26,6 +26,9 @@ StoreController::ContentView::ContentView(DoublePairStore * store, Responder * p
void StoreController::ContentView::displayFormulaInput(bool display) {
if (m_displayFormulaInputView != display) {
if (display) {
m_formulaInputView.textField()->setText("");
}
m_displayFormulaInputView = display;
layoutSubviews();
markRectAsDirty(bounds());