Revision 8eb9a54...
Go back to digest for 29th September 2013Bug Fixes in Development Tools
Andi Fischer committed changes in [umbrello] /dialogs:
Fix crash when adding entity constraints
The root cause of this crash is not checking for a valid index when retrieving
the item from the QList. We should at least check that value before calling at().
The patch I propose adds this check and also fixes the problem causing the
index to be wrong in the first place (like Arash Abedinzadeh described).
File Changes
Modified 4 files
- /dialogs
- umbrello/classifierlistpage.cpp
- umbrello/classifierlistpage.h
- umbrello/constraintlistpage.cpp
- umbrello/constraintlistpage.h
4 files changed in total