Revision 1204535

Go back to digest for 12th December 2010

Bug Fixes in Office

Cristian Oneț committed changes in /trunk/extragear/office/kmymoney/kmymoney/widgets:

Hide the edit widgets before removing them because if the widgets are visible while they are being removed (actually scheduled for deleteLater()) some events will be sent to the register (during the actual delete process) which will cause a crash by accessing the widgets which where already deleted.

This was happening somewhere deep in Qt's code and I found this to be the best workaround for it.

File Changes

Modified 2 files
  • /trunk/extragear/office/kmymoney/kmymoney/widgets
  •   /register.cpp
  •   /transactionform.cpp
2 files changed in total