mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-12 10:17:22 +01:00
Add context to copy the full file path from redirections.
This commit is contained in:
parent
0ec6a17ac7
commit
dc336569ff
1 changed files with 3 additions and 2 deletions
|
|
@ -210,6 +210,9 @@ public partial class ModEditWindow
|
|||
if (!context)
|
||||
return;
|
||||
|
||||
if (ImUtf8.Selectable("Copy Full File Path"))
|
||||
ImUtf8.SetClipboardText(registry.File.FullName);
|
||||
|
||||
using (ImRaii.Disabled(registry.CurrentUsage == 0))
|
||||
{
|
||||
if (ImUtf8.Selectable("Copy Game Paths"u8))
|
||||
|
|
@ -244,12 +247,10 @@ public partial class ModEditWindow
|
|||
using (ImRaii.Disabled(_cutPaths.Count == 0))
|
||||
{
|
||||
if (ImUtf8.Selectable("Paste Game Paths"u8))
|
||||
{
|
||||
foreach (var path in _cutPaths)
|
||||
_editor.FileEditor.SetGamePath(_editor.Option!, i, -1, path);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void PrintGamePath(int i, int j, FileRegistry registry, IModDataContainer subMod, Utf8GamePath gamePath)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue