mirror of
https://github.com/Crypto-Notepad/Crypto-Notepad.git
synced 2026-03-11 08:55:25 +00:00
"The Salt" is hidden now for new users
The salt now is randomized by default, no sense to show this option to new users.
This commit is contained in:
parent
5f1aba25a2
commit
0f0e17e670
1 changed files with 7 additions and 6 deletions
|
|
@ -36,6 +36,13 @@ private void SettingsForm_Load(object sender, EventArgs e)
|
|||
checkBox3.Checked = ps.ShowToolbar;
|
||||
checkBox4.Checked = ps.AutoLock;
|
||||
checkBox5.Checked = ps.AutoSave;
|
||||
|
||||
if (ps.TheSalt != "")
|
||||
{
|
||||
textBox1.Visible = true;
|
||||
label6.Visible = true;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
private void saveSettingsButton_Click(object sender, EventArgs e)
|
||||
|
|
@ -175,11 +182,5 @@ private void closeLabel_Click(object sender, EventArgs e)
|
|||
ps.WarningMsg = false;
|
||||
ps.Save();
|
||||
}
|
||||
|
||||
private void checkBox6_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
publicVar.randomizeSalts = this.checkBox6.Checked;
|
||||
this.textBox1.ReadOnly = this.checkBox6.Checked;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue