Resolve "Copy keys" #90

Merged
thorsten merged 3 commits from 56-copy-keys into main 2023-02-15 19:43:07 +00:00
Showing only changes of commit c16346f790 - Show all commits

View File

@ -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;
}
}