feat: add copy button
This commit is contained in:
parent
04d2f681f7
commit
52896cbdd6
|
@ -80,6 +80,12 @@ namespace SoundFilter.Ui {
|
|||
|
||||
ImGui.SameLine();
|
||||
|
||||
if (Util.IconButton(FontAwesomeIcon.Copy, $"copy-{glob}")) {
|
||||
ImGui.SetClipboardText(glob);
|
||||
}
|
||||
|
||||
ImGui.SameLine();
|
||||
|
||||
shouldSave |= ImGui.Checkbox(entry.Value.Name, ref entry.Value.Enabled);
|
||||
if (ImGui.IsItemHovered()) {
|
||||
ImGui.BeginTooltip();
|
||||
|
|
Loading…
Reference in New Issue