aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/GraphicObjects/TextBox.cs
diff options
context:
space:
mode:
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>2017-09-11 18:03:35 +0200
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>2017-09-11 18:03:35 +0200
commita83f4cd81b0a67045aa710f3e3c42323c51450b0 (patch)
tree1bc814a335767bff7f114f6a0a0a93f67ffdd11f /src/GraphicObjects/TextBox.cs
parentc7a3277469965f45c4fbd22ba1eb6f73c67ba278 (diff)
revert 65cf1452510c336fcd69f9922774389d6c3b1aee, to allow widget creation from code
Diffstat (limited to 'src/GraphicObjects/TextBox.cs')
-rw-r--r--src/GraphicObjects/TextBox.cs6
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) {