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

Cristian Onet onet.cristian at gmail.com
Tue Dec 13 07:24:10 UTC 2011


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


Cristian Onet <onet.cristian at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED




--- Comment #3 from Cristian Onet <onet cristian gmail com>  2011-12-13 07:24:10 ---
Git commit 144938cff15a116025a207984c0b8fe890834bd2 by Cristian Oneț.
Committed on 13/12/2011 at 08:02.
Pushed by conet into branch 'master'.

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/144938cff15a116025a207984c0b8fe890834bd2

--- Comment #4 from Cristian Onet <onet cristian gmail com>  2011-12-13 07:24:10 ---
Git commit d06f2c4ef10805df5f6378271b804da483518544 by Cristian Oneț.
Committed on 13/12/2011 at 08:16.
Pushed by conet into branch 'master'.

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/d06f2c4ef10805df5f6378271b804da483518544

-- 
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