# HG changeset patch # User Matti Hamalainen # Date 1496907561 -10800 # Node ID 8ec1eb6b00b609c589c0702087ab556e54122d6a # Parent f313594fc2d698ff340e9da93c6350fc3c325da3 Automatically set focus to debt value edit field after selecting a person. diff -r f313594fc2d6 -r 8ec1eb6b00b6 src/main.cpp --- a/src/main.cpp Tue Jun 06 13:31:35 2017 +0300 +++ b/src/main.cpp Thu Jun 08 10:39:21 2017 +0300 @@ -390,6 +390,7 @@ { const QAbstractItemModel *model = curr.model(); setActivePerson(model->data(model->index(row, 0)).toInt()); + focusDebtEdit(); } else setActivePerson(-1);