Skip to content

Commit

Permalink
Ability to display passwords in plain text.
Browse files Browse the repository at this point in the history
Fixed a bug that mount button is not enabled after switching drive letter.
  • Loading branch information
miyabe committed Sep 23, 2023
1 parent 8c5f520 commit bfd5090
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 2 deletions.
1 change: 1 addition & 0 deletions EncFSy_gui/MainForm.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions EncFSy_gui/MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ private void selectDirectory_Click(object sender, EventArgs e)
if (dialog.ShowDialog() == DialogResult.OK)
{
this.rootPathCombo.Text = dialog.SelectedPath;
this.updateButtons();
}
}

Expand Down
16 changes: 15 additions & 1 deletion EncFSy_gui/PasswordForm.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions EncFSy_gui/PasswordForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,11 @@ private void okButton_Click(object sender, EventArgs e)
this.password = this.passwordText.Text;
this.Close();
}

private void showPassword_CheckedChanged(object sender, EventArgs e)
{
// Toggle password visibility
this.passwordText.PasswordChar = this.showPassword.Checked ? '\0' : '*';
}
}
}
2 changes: 1 addition & 1 deletion installer/installer.nsi
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
!define VERSION "1.0.3"
!define VERSION "1.0.4"

!include LogicLib.nsh
!include x64.nsh
Expand Down

0 comments on commit bfd5090

Please sign in to comment.