diff --git a/source/ubl-settings-video.c b/source/ubl-settings-video.c index ff0dc5b..6187f66 100644 --- a/source/ubl-settings-video.c +++ b/source/ubl-settings-video.c @@ -965,11 +965,11 @@ int main(int argc, char *argv[]){ if (system(yon_check_database_command)){ dialog_confirmation_data *data = yon_confirmation_dialog_data_new(); data->action_text=DATABASE_UNACCESSIBLE_LABEL; - if (yon_confirmation_dialog_call(widgets->HeadOverlay,data) != GTK_RESPONSE_CANCEL){ + GtkResponseType resp = yon_confirmation_dialog_call(widgets->HeadOverlay,data); + if (resp){ on_database_update(NULL,widgets); } else { - yon_proprietary_get_thread(NULL,(main_window*)widgets); - + yon_proprietary_get_thread(NULL,(main_window*)widgets); } } else { yon_proprietary_get_thread(NULL,(main_window*)widgets);