[apps] Shared: In curve view, correct the dirty tracking when changing

the banner, the cursor or the OK views
This commit is contained in:
Émilie Feral
2018-01-11 14:20:03 +01:00
committed by EmilieNumworks
parent 7cd05e520a
commit b387769eb4
3 changed files with 46 additions and 20 deletions

View File

@@ -83,7 +83,6 @@ bool SumGraphController::handleEvent(Ion::Events::Event event) {
app()->setFirstResponder(m_legendView.textField());
m_graphView->setAreaHighlightColor(false);
m_graphView->setCursorView(&m_cursorView);
m_graphView->reload();
m_endSum = m_cursor->x();
m_legendView.setEditableZone(m_endSum);
m_legendView.setSumSymbol(m_step, m_startSum);
@@ -197,7 +196,6 @@ bool SumGraphController::handleEnter() {
m_legendView.setLegendMessage(I18n::Message::Default, m_step);
m_graphView->setAreaHighlightColor(true);
m_graphView->setCursorView(nullptr);
m_graphView->reload();
myApp->setFirstResponder(this);
return true;
}