[Kmymoney-devel] [kmymoney4] [Bug 336258] Crash while editing a split

Christian David christian-david at web.de
Wed Sep 24 19:40:54 UTC 2014


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

Christian David <christian-david at web.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|http://commits.kde.org/kmym |http://commits.kde.org/kmym
                   |oney/f3d666d93dbcb2f0b51a34 |oney/c6639a214066388a6c718b
                   |4ab2d78f7c68c92c67          |5a9a42db2e7cf9fd5b

--- Comment #6 from Christian David <christian-david at web.de> ---
Git commit c6639a214066388a6c718b5a9a42db2e7cf9fd5b by Christian Dávid, on
behalf of Cristian Oneț.
Committed on 31/08/2014 at 15:49.
Pushed by christiand into branch 'add-onlinebanking'.

Fix a nasty split editor bug.

Because of the way the endEdit method was written the endEdit
operation could be executed without actually ending the edit
(missing category). But code that was calling endEdit expected
that it allways would end the edit thus sometimes edit widgets
could be obtained on two rows.

Once in this state accepting both editors would cause a crash.

Also removed a workaround which would end the edit on a resize.
Instead don't do the operation that was resizing the rows while
in edit.

M  +24   -21   kmymoney/dialogs/kmymoneysplittable.cpp
M  +9    -1    kmymoney/dialogs/kmymoneysplittable.h

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

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list