From 353ccefb7534942abcbfc735deff82a4cedf3b83 Mon Sep 17 00:00:00 2001 From: Ivan Yarcev Date: Wed, 28 Feb 2024 10:41:10 +0600 Subject: [PATCH] Changed 'default password' for group tab to 'no password required' --- source/ubl-settings-usergroups.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/ubl-settings-usergroups.c b/source/ubl-settings-usergroups.c index e7cf8ad..8be6a12 100644 --- a/source/ubl-settings-usergroups.c +++ b/source/ubl-settings-usergroups.c @@ -132,7 +132,7 @@ void yon_interface_update(main_window *widgets){ } } else { - pars = DEFAULT_USER_LABEL; + pars = NO_PASSWORD_LABEL; } gtk_list_store_set(widgets->GroupsList,&iter, @@ -2355,7 +2355,7 @@ void on_main_edit(GtkWidget *self, main_window *widgets){ gtk_entry_set_text(GTK_ENTRY(window->PasswordEntry),parsed[4]); gtk_combo_box_set_active(GTK_COMBO_BOX(window->PasswordCombo),2); } else { - gtk_combo_box_set_active(GTK_COMBO_BOX(window->PasswordCombo),0); + gtk_combo_box_set_active(GTK_COMBO_BOX(window->PasswordCombo),1); } } char *sync = yon_config_get_by_key(GROUPADD_SYNC(name));