mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-12 18:27:24 +01:00
Add Copy for paths, update npc names
This commit is contained in:
parent
e9014fe4c3
commit
01db37cbd4
2 changed files with 16 additions and 1 deletions
|
|
@ -1 +1 @@
|
|||
Subproject commit 2b0c7f3bee0bc2eb466540d2fac265804354493d
|
||||
Subproject commit da74a4be9c9728c6c52134c42603cd8a7040c568
|
||||
|
|
@ -210,6 +210,21 @@ public partial class ModEditWindow
|
|||
if (!context)
|
||||
return;
|
||||
|
||||
using (ImRaii.Disabled(registry.CurrentUsage == 0))
|
||||
{
|
||||
if (ImUtf8.Selectable("Copy Game Paths"u8))
|
||||
{
|
||||
_cutPaths.Clear();
|
||||
for (var j = 0; j < registry.SubModUsage.Count; ++j)
|
||||
{
|
||||
if (registry.SubModUsage[j].Item1 != _editor.Option)
|
||||
continue;
|
||||
|
||||
_cutPaths.Add(registry.SubModUsage[j].Item2);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
using (ImRaii.Disabled(registry.CurrentUsage == 0))
|
||||
{
|
||||
if (ImUtf8.Selectable("Cut Game Paths"u8))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue