diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2017-08-26 10:24:39 +0200 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2017-08-26 10:24:39 +0200 |
| commit | 4b39241bad2eb55a91305c4aa5197c1640e81c48 (patch) | |
| tree | c7c69917b6d2ac1ec985c9cddd5f66961c0f26cd /src/GraphicObjects/TextBox.cs | |
| parent | da33782c4ab475d0e8c1216f13ecbff2450ec546 (diff) | |
remove Initialise, currentInterface is set by instanciator
Diffstat (limited to 'src/GraphicObjects/TextBox.cs')
| -rw-r--r-- | src/GraphicObjects/TextBox.cs | 6 |
1 files changed, 3 insertions, 3 deletions
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) { |