From 5bcaefc02b8ab3116c09ac016f71494120fe308b Mon Sep 17 00:00:00 2001 From: Sigmanor Date: Sat, 13 May 2017 20:46:48 +0300 Subject: [PATCH] Fixed strange behavior with the cursor in customRTB after opening files --- Crypto Notepad/Form1.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Crypto Notepad/Form1.cs b/Crypto Notepad/Form1.cs index 723f0d7..65cae5f 100644 --- a/Crypto Notepad/Form1.cs +++ b/Crypto Notepad/Form1.cs @@ -132,6 +132,13 @@ private void openToolStripMenuItem_Click(object sender, EventArgs e) return; } DecryptAES(); + + /*workaround, strange behavior with the cursor in customRTB fix*/ + customRTB.DetectUrls = false; + customRTB.DetectUrls = true; + customRTB.Modified = false; + /*workaround, strange behavior with the cursor in customRTB fix*/ + if (publicVar.okPressed == true) { publicVar.okPressed = false;