From 5bd9597eec1ddb807f95c2997305650404c30279 Mon Sep 17 00:00:00 2001 From: Alexander Date: Thu, 7 Nov 2019 21:13:04 +0200 Subject: [PATCH] Fixed bub when file size and modified date does not calculated --- Crypto Notepad/MainForm.cs | 2 +- Crypto Notepad/SettingsForm.cs | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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)