Password showing fix

pull/107/head
parent c7f2f9a067
commit 60eabca945

@ -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);
}
}

Loading…
Cancel
Save