From 37f3f2c0d960059af3170a7c2dd7dca225a0a2b9 Mon Sep 17 00:00:00 2001 From: DannyRawlings Date: Thu, 1 May 2014 09:37:52 +0100 Subject: [PATCH] Update MetroTextBox.cs --- MetroFramework/Controls/MetroTextBox.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/MetroFramework/Controls/MetroTextBox.cs b/MetroFramework/Controls/MetroTextBox.cs index 82420457..ea58938f 100644 --- a/MetroFramework/Controls/MetroTextBox.cs +++ b/MetroFramework/Controls/MetroTextBox.cs @@ -418,7 +418,9 @@ private void UpdateBaseTextBox() baseTextBox.BackColor = EffectiveBackColor; baseTextBox.ForeColor = EffectiveForeColor; baseTextBox.Font = EffectiveFont; - + baseTextBox.Cursor = base.Cursor; // Fix to prevent VS/App crashing when changing the cursor 01/May/2014 + + if (displayIcon) { Point textBoxLocation = new Point(IconSize.Width + 4, 3);