mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-12 18:27:24 +01:00
Fix IMC Stupid.
This commit is contained in:
parent
eb2a9b8109
commit
255d11974f
2 changed files with 2 additions and 1 deletions
|
|
@ -204,7 +204,7 @@ public class FileEditor<T>(
|
|||
|
||||
private void SaveButton()
|
||||
{
|
||||
var canSave = _changed && _currentFile != null && _currentFile.Valid;
|
||||
var canSave = _changed && _currentFile is { Valid: true };
|
||||
if (ImGuiUtil.DrawDisabledButton("Save to File", Vector2.Zero,
|
||||
$"Save the selected {fileType} file with all changes applied. This is not revertible.", !canSave))
|
||||
{
|
||||
|
|
|
|||
|
|
@ -26,6 +26,7 @@ public static class ImcManipulationDrawer
|
|||
};
|
||||
identifier = identifier with
|
||||
{
|
||||
ObjectType = type,
|
||||
EquipSlot = equipSlot,
|
||||
SecondaryId = identifier.SecondaryId == 0 ? 1 : identifier.SecondaryId,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue