diff --git a/Crypto Notepad/MainForm.cs b/Crypto Notepad/MainForm.cs index b7fb3bb..b05edba 100644 --- a/Crypto Notepad/MainForm.cs +++ b/Crypto Notepad/MainForm.cs @@ -444,7 +444,7 @@ protected internal void StatusPanelFileInfo() } } - private void StatusPanelTextInfo() + protected internal void StatusPanelTextInfo() { if (statusPanel.Visible) { diff --git a/Crypto Notepad/SettingsForm.cs b/Crypto Notepad/SettingsForm.cs index 9d2f8dd..ca32613 100644 --- a/Crypto Notepad/SettingsForm.cs +++ b/Crypto Notepad/SettingsForm.cs @@ -600,6 +600,7 @@ private void StatusPanelLengthCheckBox_Click(object sender, EventArgs e) MainForm main = Owner as MainForm; main.statusPanelLengthLabel.Visible = statusPanelLengthCheckBox.Checked; settings.statusPanelLength = statusPanelLengthCheckBox.Checked; + main.StatusPanelTextInfo(); } private void StatusPanelLinesCheckBox_Click(object sender, EventArgs e) @@ -607,6 +608,7 @@ private void StatusPanelLinesCheckBox_Click(object sender, EventArgs e) MainForm main = Owner as MainForm; main.statusPanelLinesLabel.Visible = statusPanelLinesCheckBox.Checked; settings.statusPanelLines = statusPanelLinesCheckBox.Checked; + main.StatusPanelTextInfo(); } private void StatusPanelModifiedCheckBox_Click(object sender, EventArgs e)