+ lst_imported = dynamic_cast<GLtk::List *>(get_item(widgets, "lst_imported"));
+ lst_imported->set_data(detected_locos);
+ lst_imported->set_item_type<DetectedLocoItem>();
+
+ dynamic_cast<GLtk::Toggle *>(get_item(widgets, "tgl_trains"))->signal_toggled.connect(sigc::bind(sigc::mem_fun(this, &TrainListDialog::tab_toggled), lst_trains));
+ dynamic_cast<GLtk::Toggle *>(get_item(widgets, "tgl_import"))->signal_toggled.connect(sigc::bind(sigc::mem_fun(this, &TrainListDialog::tab_toggled), lst_imported));
+