diff --git a/sw/supervision/paparazzicenter.glade b/sw/supervision/paparazzicenter.glade index ca2fa6ee290..2ec0ca3d72d 100644 --- a/sw/supervision/paparazzicenter.glade +++ b/sw/supervision/paparazzicenter.glade @@ -341,13 +341,66 @@ True False - 12 + 8 - + True False - + + True + False + + + + + + True + True + 0 + + + + + True + True + True + True + Reload aircraft xml files. + False + + + True + False + 0 + 0 + + + True + False + 2 + + + True + False + gtk-refresh + + + False + False + 0 + + + + + + + + + False + False + 1 + @@ -380,7 +433,7 @@ True False - 12 + 8 True @@ -424,7 +477,7 @@ True False - 12 + 8 True diff --git a/sw/supervision/pc_aircraft.ml b/sw/supervision/pc_aircraft.ml index 1a5ebe38226..540ef4b5d70 100644 --- a/sw/supervision/pc_aircraft.ml +++ b/sw/supervision/pc_aircraft.ml @@ -403,6 +403,9 @@ let ac_combo_handler = fun gui (ac_combo:Gtk_tools.combo) target_combo flash_com (* A/C id *) ignore(gui#entry_ac_id#connect#changed ~callback:(fun () -> save_callback gui ac_combo tree_set tree_set_mod ())); + (* refresh button *) + ignore(gui#button_refresh#connect#clicked ~callback:(fun () -> update_params (Gtk_tools.combo_value ac_combo))); + (* Conf *) List.iter (fun (name, subdir, label, button_browse, button_edit, editor, button_remove) -> (* editor button callback *)