diff --git a/source/ubinstall-gtk-page-switch.c b/source/ubinstall-gtk-page-switch.c index 27a6221..4bc050a 100644 --- a/source/ubinstall-gtk-page-switch.c +++ b/source/ubinstall-gtk-page-switch.c @@ -479,6 +479,12 @@ void yon_page_init(main_window *widgets, enum YON_PAGES page){ case YON_PAGE_INSTALL_ADVANCED: yon_advanced_init(widgets); break; + case YON_PAGE_COMPLETION: + const char *endaction = gtk_combo_box_get_active_id(GTK_COMBO_BOX(widgets->ConfigHubRebootCombo)); + if (!yon_char_is_empty(endaction)&&!strcmp(endaction,"close")){ + on_exit_accepted(widgets); + } + break; case YON_PAGE_INSTALL_COMMON: case YON_PAGE_INSTALL_SEPARATE: case YON_PAGE_INSTALL_SAME_PARTITION: