diff --git a/I18N Commander/UI WinForms/Components/TextElements.cs b/I18N Commander/UI WinForms/Components/TextElements.cs index 902f570..2a4b1ef 100644 --- a/I18N Commander/UI WinForms/Components/TextElements.cs +++ b/I18N Commander/UI WinForms/Components/TextElements.cs @@ -249,5 +249,13 @@ public partial class TextElements : UserControl return; Clipboard.SetText(await TextElementProcessor.GetKey(this.currentTextElement.Id)); + + // + // Switch the button's icon to the "ok" icon for a few + // seconds, to indicate, that the key was copied: + // + this.buttonCopyKey.Image = Icons.icons8_ok_512; + await Task.Delay(TimeSpan.FromSeconds(1)); + this.buttonCopyKey.Image = Icons.icons8_key2_512; } } \ No newline at end of file