Bug 213163

Summary: Impossible to delete a template (CSV import functionality)
Product: [Applications] kaddressbook Reporter: Sabine Faure <sabine>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: VERIFIED FIXED    
Severity: normal CC: tokoe
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Sabine Faure 2009-11-04 23:28:33 UTC
Version:            (using Devel)
Compiler:          gcc 4.3.2 
OS:                Linux
Installed from:    Compiled sources

- Launch Kontact and go to KAB
- Go to file menu/Import/Import CSV file...
- click on the floppy disk button and browse to select a .csv file
- The headings are entitled 'Undefined'
- click on 'Apply Template...'
- A 'Template Selection' dialogue appears listing all of the templates names.

But it is impossible to delete any template from this dialogue or from anywhere else as far as I know. 
So the list just grows bigger and bigger over time.

Would it be possible to create a 'delete' button somewhere to delete the unused or obsolete templates?

Trunk, Svn Rev 1044595
Comment 1 Tobias Koenig 2009-11-06 17:12:47 UTC
SVN commit 1045692 by tokoe:

Extend the template selection dialog to allow to remove templates as well

BUG: 213163


 M  +1 -0      CMakeLists.txt  
 M  +9 -28     xxport/csv/csvimportdialog.cpp  
 A             xxport/csv/templateselectiondialog.cpp   [License: GPL (v2+)]
 A             xxport/csv/templateselectiondialog.h   [License: GPL (v2+)]


WebSVN link: http://websvn.kde.org/?view=rev&revision=1045692
Comment 2 Sabine Faure 2009-11-10 00:08:45 UTC
It is corrected now.

In the 'Template Selection' dialogue there is now a '-' sign next to each template name. 
To delete a template, click on the corresponding minus sign and click on 'Yes' to answer the ''Do you really want to delete template 'TEMPLATE NAME'?'' question.

Trunk,Svn Rev 1046648