From f3a6ba03feb333d3bbcc21f931ec45954f373841 Mon Sep 17 00:00:00 2001 From: Ivan Dmitrievich Yartsev Date: Mon, 8 Dec 2025 18:16:15 +0600 Subject: [PATCH] Db update cancel fix --- source/ubl-settings-kernel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/ubl-settings-kernel.c b/source/ubl-settings-kernel.c index 1c60216..7e5ead4 100644 --- a/source/ubl-settings-kernel.c +++ b/source/ubl-settings-kernel.c @@ -1635,7 +1635,7 @@ void yon_main_window_complete(main_window *widgets){ dialog_confirmation_data *data = yon_confirmation_dialog_data_new(); data->action_text=TITLE_LABEL; data->action_text=DATABASE_UNACCESSIBLE_LABEL; - if (yon_confirmation_dialog_call(widgets->HeadOverlay,data)!=GTK_RESPONSE_CANCEL){ + if (yon_confirmation_dialog_call(widgets->HeadOverlay,data)){ on_database_update(NULL,widgets); } else { on_update_clicked(NULL,widgets);