diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2017-09-11 18:03:35 +0200 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2017-09-11 18:03:35 +0200 |
| commit | a83f4cd81b0a67045aa710f3e3c42323c51450b0 (patch) | |
| tree | 1bc814a335767bff7f114f6a0a0a93f67ffdd11f /src/GraphicObjects/TextBox.cs | |
| parent | c7a3277469965f45c4fbd22ba1eb6f73c67ba278 (diff) | |
revert 65cf1452510c336fcd69f9922774389d6c3b1aee, to allow widget creation from code
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 5e2d55cb..0cbee9f8 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) { |