[Kmymoney-devel] [Bug 283234] Select all does not update GUI

Cristian Onet onet.cristian at gmail.com
Mon Dec 12 20:36:13 UTC 2011


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


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

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




--- Comment #7 from Cristian Onet <onet cristian gmail com>  2011-12-12 20:36:13 ---
Git commit a2a96ce406218ae345edd2224b1c85a3cc081e8c by Cristian Oneț.
Committed on 12/12/2011 at 21:24.
Pushed by conet into branch 'master'.

Fixed the fact that select all was not updating the register until a paint was
being triggered by the system (mouse over or something similar that caused the
widget to be marked as dirty).

This problem is caused by the fact that the actual TableWidget which
is used to render the register is just a "painting shell". The actual
data is being kept in the register items which are used to paint the
register. The selection was correctly set in those items but no repaint
was triggered. Solved this by calling the view's selectAll method.

Also remove the unimplemented repaintItems method since it should not be needed
anymore.

The whole register would need a complete rewrite but we don't have the
resources yet to do that.

BUG: 283234

M  +3    -1    kmymoney/views/kgloballedgerview.cpp
M  +1    -26   kmymoney/widgets/register.cpp
M  +0    -2    kmymoney/widgets/register.h

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

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