Bug 213163 - Impossible to delete a template (CSV import functionality)
Summary: Impossible to delete a template (CSV import functionality)
Status: VERIFIED FIXED
Alias: None
Product: kaddressbook
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-04 23:28 UTC by Sabine Faure
Modified: 2009-11-10 00:08 UTC (History)
1 user (show)

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 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