[apps/graph] Fix selection after editing a function successfully

This commit is contained in:
Léa Saviot
2018-10-19 13:37:11 +02:00
committed by Émilie Feral
parent 7b98467fa9
commit 59cdbda0ae

View File

@@ -59,6 +59,7 @@ bool StorageListController::textFieldDidFinishEditing(TextField * textField, con
// Handle any error
if (error == Ion::Storage::Record::ErrorStatus::None) {
textField->setEditing(false, false);
computeTitlesColumnWidth();
int currentRow = m_selectableTableView.selectedRow();
if (event == Ion::Events::Down && currentRow < numberOfRows() - 1) {