Test fix for crash

pull/69/head
parent 32a2df4b59
commit 081eaa7343

@ -1781,9 +1781,9 @@ void on_page_navigation_clicked(GtkWidget *self, main_window *widgets){
if (!main_config.configure_mode){ if (!main_config.configure_mode){
yon_debug_output("%s\n","Entered saving"); yon_debug_output("%s\n","Entered saving");
if (!main_config.install_complete){ // if (!main_config.install_complete){
gtk_notebook_set_current_page(GTK_NOTEBOOK(widgets->Notebook),YON_PAGE_INSTALLATION); // gtk_notebook_set_current_page(GTK_NOTEBOOK(widgets->Notebook),YON_PAGE_INSTALLATION);
} // }
if (gtk_progress_bar_get_fraction(GTK_PROGRESS_BAR(widgets->InstallationProgress))>0.9){ if (gtk_progress_bar_get_fraction(GTK_PROGRESS_BAR(widgets->InstallationProgress))>0.9){
yon_debug_output("%s\n","Entered saving before installation done"); yon_debug_output("%s\n","Entered saving before installation done");
gtk_notebook_set_current_page(GTK_NOTEBOOK(widgets->Notebook),YON_PAGE_INSTALLATION); gtk_notebook_set_current_page(GTK_NOTEBOOK(widgets->Notebook),YON_PAGE_INSTALLATION);

Loading…
Cancel
Save