Machriam / TheCardEditor

MIT License
0 stars 0 forks source link

Bug: Deleted and renamed pictures still exist in the picture manager #9

Closed TimKroeger13 closed 11 months ago

TimKroeger13 commented 12 months ago

Error reconstruction: -> Open the "Picture Manager" tab. -> Select a folder and import it. Case 1: -> Rename the picture in the underlying folder. -> Open the Card edit tab and edit a card there. -> Import the old image reference into the card. Case 2: -> Delete the picture in the underlying folder. -> Open the Card edit tab and edit a card there. -> Import the old image reference into the card.

What happens: In both cases, a blank canvas gets added to the image.

What should happen: The old image reference should not exist anymore after the underlying picture gets renamed or removed. Every time the "Picture Manager" tab is opened or a card is created or edited, all picture references should be checked and updated.