Fixed unsensitive buttons

pull/13/head
parent 63947412d2
commit f017eabb25

@ -869,8 +869,6 @@ void on_page_navigation_clicked(GtkWidget *self, main_window *widgets){
if (!main_config.configure_mode){ if (!main_config.configure_mode){
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);
} else {
gtk_notebook_set_current_page(GTK_NOTEBOOK(widgets->Notebook),YON_PAGE_COMPLETION);
} }
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){
pthread_t tid; pthread_t tid;

Loading…
Cancel
Save