Skip to content

Commit

Permalink
Don't remove previous text on paste
Browse files Browse the repository at this point in the history
  • Loading branch information
Mc-muffin committed Jun 17, 2024
1 parent eadda1d commit 76a8008
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TranslationApp/fMain.cs
Original file line number Diff line number Diff line change
Expand Up @@ -878,7 +878,7 @@ private void NDXToolStripMenuItem_Click_1(object sender, EventArgs e)

private void tbEnglishText_TextPasted(object sender, ClipboardEventArgs e)
{
tbEnglishText.Text = e.ClipboardText.Replace("\r", "").Replace("\n", Environment.NewLine);
tbEnglishText.Paste(e.ClipboardText.Replace("\r", "").Replace("\n", Environment.NewLine));
}

private void tbEnglishText_TextChanged(object sender, EventArgs e)
Expand Down

0 comments on commit 76a8008

Please sign in to comment.