Bug 165968 - Duplicate Custom Template entry, crash when deleting.
Summary: Duplicate Custom Template entry, crash when deleting.
Status: RESOLVED FIXED
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.9.52
Platform: unspecified Other
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-07 20:48 UTC by Shem Valentine
Modified: 2008-07-08 19:08 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Shem Valentine 2008-07-07 20:48:40 UTC
Version:           1.9.52 (using KDE 4.0.83)
Installed from:    Unlisted Binary Package
OS:                Other

When adding a Custom Template in the main Composing dialog, after applying and reopening the section, the Template will be listed twice.  If you then edit either of the two duplicate templates, after and apply and reopen you will then have 4 duplicate templates.

Deleting any of the duplicates or editing the Template Type, will result in a crash.
Comment 1 Christophe Marin 2008-07-08 16:40:05 UTC
Please read the following page and provide a backtrace for this crash : http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports
Comment 2 Thomas McGuire 2008-07-08 19:08:18 UTC
SVN commit 829569 by tmcguire:

Don't call load() twice (it is already called by the KCM logic, when the KCM
is shown).

This prevents custom templates appearing twice.

BUG:165968


 M  +0 -8      configuredialog.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=829569