gtkfunctions: clear combobox model before filling it with possible shows
This commit is contained in:
parent
d197bd5e78
commit
1d4fa4b8ff
@ -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() );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user