aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.WinForms/Tools
diff options
context:
space:
mode:
Diffstat (limited to 'ShiftOS.WinForms/Tools')
-rw-r--r--ShiftOS.WinForms/Tools/ControlManager.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/ShiftOS.WinForms/Tools/ControlManager.cs b/ShiftOS.WinForms/Tools/ControlManager.cs
index 52f7682..5778dd5 100644
--- a/ShiftOS.WinForms/Tools/ControlManager.cs
+++ b/ShiftOS.WinForms/Tools/ControlManager.cs
@@ -148,7 +148,8 @@ namespace ShiftOS.WinForms.Tools
var gfx = Graphics.FromImage(mBmp);
var handle = mBmp.GetHicon();
- ctrl.Cursor = new Cursor(handle);
+ var cursor = new Cursor(handle);
+ ctrl.Cursor = cursor;
}
}