mirror of
https://github.com/Crypto-Notepad/Crypto-Notepad.git
synced 2026-03-11 08:55:25 +00:00
Fixed bug when font settings not saved
This commit is contained in:
parent
722e8872b3
commit
5a710116db
1 changed files with 1 additions and 0 deletions
|
|
@ -351,6 +351,7 @@ private void EditorFontButton_Click(object sender, EventArgs e)
|
|||
MainForm main = Owner as MainForm;
|
||||
main.richTextBox.Font = fontDialog.Font;
|
||||
main.richTextBox.SetInnerMargins(Convert.ToInt32(settings.editorPaddingLeft), 0, 0, 0);
|
||||
settings.editorFont = fontDialog.Font;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue