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

Cristian Oneț onet.cristian at gmail.com
Sun Aug 31 16:17:51 UTC 2014


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

Cristian Oneț <onet.cristian at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |http://commits.kde.org/kmym
                   |                            |oney/8e7898fbd7de4cc7557d5d
                   |                            |e9eaae32386d2859b1
         Resolution|---                         |FIXED
             Status|CONFIRMED                   |RESOLVED

--- Comment #4 from Cristian Oneț <onet.cristian at gmail.com> ---
Git commit 8e7898fbd7de4cc7557d5de9eaae32386d2859b1 by Cristian Oneț.
Committed on 31/08/2014 at 15:49.
Pushed by conet into branch 'master'.

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/8e7898fbd7de4cc7557d5de9eaae32386d2859b1

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


More information about the KMyMoney-devel mailing list