From 65cf1452510c336fcd69f9922774389d6c3b1aee Mon Sep 17 00:00:00 2001 From: Jean-Philippe Bruyère Date: Sat, 26 Aug 2017 10:24:39 +0200 Subject: remove Initialise, currentInterface is set by instanciator --- src/GraphicObjects/TextBox.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/GraphicObjects/TextBox.cs') diff --git a/src/GraphicObjects/TextBox.cs b/src/GraphicObjects/TextBox.cs index 0cbee9f8..5e2d55cb 100644 --- a/src/GraphicObjects/TextBox.cs +++ b/src/GraphicObjects/TextBox.cs @@ -85,7 +85,7 @@ namespace Crow if (!MoveRight ()) return; }else if (e.Shift) - CurrentInterface.Clipboard = this.SelectedText; + currentInterface.Clipboard = this.SelectedText; this.DeleteChar (); break; case Key.Enter: @@ -134,9 +134,9 @@ namespace Crow break; case Key.Insert: if (e.Shift) - this.Insert (CurrentInterface.Clipboard); + this.Insert (currentInterface.Clipboard); else if (e.Control && !selectionIsEmpty) - CurrentInterface.Clipboard = this.SelectedText; + currentInterface.Clipboard = this.SelectedText; break; case Key.Left: if (e.Shift) { -- cgit v1.3.1-4-g156e