Fixed app closing after finish

pull/341/head
parent ba9d35dbf1
commit 47008b28d7

@ -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:

Loading…
Cancel
Save