[Kmymoney-devel] [Bug 283804] Open selected account when pressing ENTER

Cristian Onet onet.cristian at gmail.com
Tue Dec 13 07:25:20 UTC 2011


https://bugs.kde.org/show_bug.cgi?id=283804





--- Comment #5 from Cristian Onet <onet cristian gmail com>  2011-12-13 07:25:20 ---
Git commit b26d860c76c909441671d7d2ef4f6c64018adcc1 by Cristian Oneț.
Committed on 13/12/2011 at 08:02.
Pushed by conet into branch '4.6'.

Emit the openObject() signal also when the Enter/Return key is pressed.

We don't use the activated() signal from QAbstractItemView because
that can be emitted on a single click depending on the system settings
which can make some account views (like the one in the budgets view)
useless.

BUG: 283804

M  +17   -3    kmymoney/widgets/kmymoneyaccounttreeview.cpp
M  +4    -0    kmymoney/widgets/kmymoneyaccounttreeview.h

http://commits.kde.org/kmymoney/b26d860c76c909441671d7d2ef4f6c64018adcc1

--- Comment #6 from Cristian Onet <onet cristian gmail com>  2011-12-13 07:25:20 ---
Git commit b9e64e21bd71925949d50eb9588a03527cc65d57 by Cristian Oneț.
Committed on 13/12/2011 at 08:16.
Pushed by conet into branch '4.6'.

Move the 'edit transaction on enter pressed' implementation from the event
filter
of the ledger view into the register itself just like on double clicking.

In this way we simplified the code and made it possible to open a transaction
in
the ledger from the register in the payees view with the 'Enter/Return' keys.

BUG: 283804

M  +0    -15   kmymoney/views/kgloballedgerview.cpp
M  +6    -0    kmymoney/widgets/register.cpp

http://commits.kde.org/kmymoney/b9e64e21bd71925949d50eb9588a03527cc65d57

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list