[Crash] when adding or removing pictures from album --> Exception: An Item with the same key has already been added. Key:0
Describe the bug Sometimes - not always when I add to or also when I remove pictures from an album I get this error and DT crashes
**Version: 1.9
To Reproduce: it happens sometimes, not always. I don't know how to reproduce. It happens with pictures I have generated with Forge, but also with the one made with comfy. Usually I move many pictures at once.
Same issues; I have not had it when removing pictures from an album but otherwise identical symptoms to trunksn1.
I am able to add pictures to Albums without issue when in the 'Search' view. However if I am in a folder in the folder view and add pictures to an Album, the app gives the same error, freezes and then crashes out. When I reopen the app, they are showing as added to the album. This happens whether I right click on the image and select an album, or drag the image to an album in the tree. Haven't tried removing anything. I am on V1.9.1
Edit: actually looks to have been reported here already: https://github.com/RupertAvery/DiffusionToolkit/issues/298
Hello, I tested the latest unpublished version and the issue seems to be fixed. You need to download the entire code from GitHub as a ZIP file, extract it into a folder, then click on publish.cmd. A new folder named Build will be created with the latest up-to-date version.