This commit is contained in:
Manuel Kamper 2024-08-23 14:50:15 +02:00
parent 0a431d2b8c
commit cb4fdd33ac

View File

@ -2137,7 +2137,7 @@ namespace Mk0.Software.ImageSorter
} }
//rechts neue pb erstellen //rechts neue pb erstellen
int pIndex = imageIndex; int pIndex = imageIndex;
pIndex += previewNumber + 1; pIndex += previewNumber;
if (pIndex >= images.Count() || pIndex < 0) if (pIndex >= images.Count() || pIndex < 0)
{ {
pIndex = 0; pIndex = 0;
@ -2216,6 +2216,7 @@ namespace Mk0.Software.ImageSorter
{ {
var pb = (PictureBox)sender; var pb = (PictureBox)sender;
LoadPicture((int)pb.Tag); LoadPicture((int)pb.Tag);
ShowPreviewImages();
} }
/// <summary> /// <summary>