Skip to content

Commit

Permalink
Fix WordWrap isn't saved correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
mystasly48 committed Apr 19, 2020
1 parent 6e84593 commit 4734e38
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions Mystter_SendTweet/Form1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -201,12 +201,10 @@ public partial class Form1 : Form {
}

private void ChangeWordWrap(bool wrap) {
if (wrap != textBox1.WordWrap) {
textBox1.WordWrap = wrap;
wordWrapMenuItem.Checked = wrap;
settings.WordWrap = wrap;
SaveSettings();
}
textBox1.WordWrap = wrap;
wordWrapMenuItem.Checked = wrap;
settings.WordWrap = wrap;
SaveSettings();
}

private void ChangeLocation(Point location) {
Expand Down

0 comments on commit 4734e38

Please sign in to comment.