mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-23 17:09:22 +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))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue