From 1d4fa4b8ff79ade99dbb922c032cbdf8e3299852 Mon Sep 17 00:00:00 2001 From: zvon Date: Mon, 17 Feb 2020 13:37:00 +0100 Subject: [PATCH] gtkfunctions: clear combobox model before filling it with possible shows --- gtkfunctions.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/gtkfunctions.cpp b/gtkfunctions.cpp index 43672a4..0aa7f03 100644 --- a/gtkfunctions.cpp +++ b/gtkfunctions.cpp @@ -34,6 +34,7 @@ void searchShow( Gtk::Entry *entry_show, Gtk::ComboBox *combo_possible, // fill up combo box with results from thetvdb auto model = static_cast< Gtk::ListStore * >( combo_possible->get_model().get() ); + model->clear(); auto row = *( model->append() );