diff --git a/Crypto Notepad/Forms/MainForm.cs b/Crypto Notepad/Forms/MainForm.cs index 267d993..c402043 100644 --- a/Crypto Notepad/Forms/MainForm.cs +++ b/Crypto Notepad/Forms/MainForm.cs @@ -7,7 +7,6 @@ using System.Linq; using System.Net; using System.Reflection; -using System.Runtime.InteropServices; using System.Security.Cryptography; using System.Threading.Tasks; using System.Windows.Forms; @@ -626,7 +625,7 @@ public void MenuIcons(bool menuIcons) aboutMainMenu.Image = Resources.information; alwaysOnTopMainMenu.Image = Resources.applications_blue; saveCloseFileMainMenu.Image = Resources.disk_minus; - passwordGeneratorMainMenu.Image = Resources.key_plus; + passwordGeneratorMainMenu.Image = Resources.key_plus; } else { @@ -984,6 +983,7 @@ private async void MainWindow_Load(object sender, EventArgs e) { await CheckForUpdates(false); } + } private void RichTextBox_SelectionChanged(object sender, EventArgs e) diff --git a/Crypto Notepad/Forms/SettingsForm.cs b/Crypto Notepad/Forms/SettingsForm.cs index a5832ae..cd615eb 100644 --- a/Crypto Notepad/Forms/SettingsForm.cs +++ b/Crypto Notepad/Forms/SettingsForm.cs @@ -295,7 +295,7 @@ private void MenuIconsCheckBox_Click(object sender, EventArgs e) { MainForm main = Owner as MainForm; settings.menuIcons = menuIconsCheckBox.Checked; - main.MenuIcons(settings.menuIcons); + main.MenuIcons(settings.menuIcons); } private void EditorFontLabel_Click(object sender, EventArgs e)