Fix the missing columns in the IPTC by not deleting them, i.e. fix the typo to call clear_items instead of remove_all_columns.

This commit is contained in:
Adam Reichold
2015-12-19 17:20:52 +01:00
parent 8ae520e794
commit 07d24b2ff1

View File

@@ -441,7 +441,7 @@ void IPTCPanel::delKeyWord ()
keep.push_back (keywords->get_text (i));
}
keywords->remove_all_columns ();
keywords->clear_items ();
for (unsigned int i = 0; i < keep.size(); i++) {
keywords->append (keep[i]);
@@ -494,7 +494,7 @@ void IPTCPanel::delSuppCategory ()
keep.push_back (suppCategories->get_text (i));
}
suppCategories->remove_all_columns ();
suppCategories->clear_items ();
for (unsigned int i = 0; i < keep.size(); i++) {
suppCategories->append (keep[i]);
@@ -549,9 +549,9 @@ void IPTCPanel::applyChangeList ()
captionWriter->set_text ("");
headline->set_text ("");
instructions->set_text ("");
keywords->remove_all_columns ();
keywords->clear_items ();
category->get_entry()->set_text ("");
suppCategories->remove_all_columns ();
suppCategories->clear_items ();
author->set_text ("");
authorPos->set_text ("");
credit->set_text ("");