InvokeAI/invokeai/frontend
psychedelicious bf116927e1 feat(ui): clear features if image used by them is deleted
This handles the case when an image is deleted but is still in use in as eg an init image on canvas, or a control image. If we just delete the image, canvas/controlnet/etc may break (the image would just fail to load).

When an image is deleted, the app checks to see if it is in use in:
- Image to Image
- ControlNet
- Unified Canvas
- Node Editor

The delete dialog will always open if the image is in use anywhere, and the user is advised that deleting the image will reset the feature(s).

Even if the user has ticked the box to not confirm on delete, the dialog will still show if the image is in use somewhere.
2023-06-06 14:35:07 +10:00
..
CLI remove globals, args, generate and the legacy CLI 2023-05-03 23:36:51 -04:00
install fix potential race condition in config system 2023-05-25 20:41:26 -04:00
merge fix potential race condition in config system 2023-05-25 20:41:26 -04:00
training fix potential race condition in config system 2023-05-25 20:41:26 -04:00
web feat(ui): clear features if image used by them is deleted 2023-06-06 14:35:07 +10:00
__init__.py all files migrated; tweaks needed 2023-03-03 00:02:15 -05:00