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 | dc8d870b76c445b6ef979ff58c2260e88793d167 (patch) | |
| tree | ab0b76d5fbf180a1afc3bdf62c1b74a129496688 /src/GraphicObjects/TextBox.cs | |
| parent | 7f10fe9ea2a4538843401c54d4518376a69b242d (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) { |