From 2fa141db4c59e9054cb0f156c8b48da85c18157c Mon Sep 17 00:00:00 2001 From: Ivan Yarcev Date: Tue, 14 Jan 2025 12:00:43 +0600 Subject: [PATCH] Fixed confirmation window closing --- source/ubl-settings-usergroups-system.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/ubl-settings-usergroups-system.c b/source/ubl-settings-usergroups-system.c index bad75fa..0047481 100644 --- a/source/ubl-settings-usergroups-system.c +++ b/source/ubl-settings-usergroups-system.c @@ -14,6 +14,7 @@ void on_delete_system_user(GtkWidget *, yon_confirmation_window *dialog){ if (!yon_char_is_empty(command)){ yon_launch(command); } + on_subwindow_close(dialog->Window); } void on_delete_system_group(GtkWidget *, yon_confirmation_window *dialog){ @@ -30,6 +31,7 @@ void on_delete_system_group(GtkWidget *, yon_confirmation_window *dialog){ if (!yon_char_is_empty(command)){ yon_launch(command); } + on_subwindow_close(dialog->Window); } void yon_remove_confirmation_window_accept_clicked(GtkWidget *self,dictionary *dict){