From 07d24b2ff1543e1f5e4905cd77b0456f51edecb4 Mon Sep 17 00:00:00 2001 From: Adam Reichold Date: Sat, 19 Dec 2015 17:20:52 +0100 Subject: [PATCH] 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. --- rtgui/iptcpanel.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/rtgui/iptcpanel.cc b/rtgui/iptcpanel.cc index b29b39217..c3a2cf39f 100644 --- a/rtgui/iptcpanel.cc +++ b/rtgui/iptcpanel.cc @@ -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 ("");