changeset 89:8ec1eb6b00b6

Automatically set focus to debt value edit field after selecting a person.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 08 Jun 2017 10:39:21 +0300
parents f313594fc2d6
children efab68769c75
files src/main.cpp
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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);