This commit is contained in:
parent
6fe40ea9e3
commit
cedea519ca
@ -1676,10 +1676,11 @@ namespace Volian.Controls.Library
|
|||||||
case Keys.C: //ctrl-C
|
case Keys.C: //ctrl-C
|
||||||
// handle the clipboard copy and cut when a Transition or RO is selected
|
// handle the clipboard copy and cut when a Transition or RO is selected
|
||||||
// For now, we are coping/cutting just the displayed text to the clipboard (like 16-bit VE-PROMS)
|
// For now, we are coping/cutting just the displayed text to the clipboard (like 16-bit VE-PROMS)
|
||||||
Clipboard.SetText(GetSelectedDisplayableText());
|
string ts = GetSelectedDisplayableText();
|
||||||
|
if (ts!=null&&ts!="") Clipboard.SetText(GetSelectedDisplayableText());
|
||||||
e.Handled = true;
|
e.Handled = true;
|
||||||
e.SuppressKeyPress = true;
|
e.SuppressKeyPress = true;
|
||||||
if (e.KeyCode == Keys.X) // cut to clipboard - delete the selected text
|
if (ts!=null&&ts!=""&&e.KeyCode == Keys.X) // cut to clipboard - delete the selected text
|
||||||
HandleDeleteKeyWithSelectedText(e, null);
|
HandleDeleteKeyWithSelectedText(e, null);
|
||||||
break;
|
break;
|
||||||
case Keys.V:
|
case Keys.V:
|
||||||
|
BIN
PROMS/Volian.Controls.Library/StepTabRibbon.designer.cs
generated
BIN
PROMS/Volian.Controls.Library/StepTabRibbon.designer.cs
generated
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user