Fixed strange behavior with the cursor in customRTB after opening files

This commit is contained in:
Sigmanor 2017-05-13 20:46:48 +03:00
parent 3be815d60f
commit 5bcaefc02b

View file

@ -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;