From 60eabca9452c8f207e51d6caa723f7cfc30e30d1 Mon Sep 17 00:00:00 2001 From: Ivan Yarcev Date: Fri, 16 Feb 2024 16:21:00 +0600 Subject: [PATCH] Password showing fix --- source/ubl-settings-usergroups.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/source/ubl-settings-usergroups.c b/source/ubl-settings-usergroups.c index 7d35411..f63f584 100644 --- a/source/ubl-settings-usergroups.c +++ b/source/ubl-settings-usergroups.c @@ -647,10 +647,7 @@ void on_password_change(GtkWidget *self, dictionary *entry_dict){// if (!check_is_password_hash(password)){ gtk_entry_set_text(GTK_ENTRY(window->PasswordHashEntry),password); } else { - if (password[0]=='%'&&password[1]=='%'){ - free(yon_char_divide(password,1)); gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(window->NoEncriptionCheck),1); - } gtk_entry_set_text(GTK_ENTRY(window->PasswordEntry),password); } }