More nul checks
This commit is contained in:
parent
0bbab95db6
commit
f9ebaffe19
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -596,7 +596,7 @@ namespace Switch_Toolbox.Library.Forms
|
||||
HasBeenEdited = false;
|
||||
}
|
||||
|
||||
if (ActiveTexture.EditedImages != null) {
|
||||
if (ActiveTexture.EditedImages != null && ActiveTexture.EditedImages[CurArrayDisplayLevel] != null) {
|
||||
ActiveTexture.EditedImages[CurArrayDisplayLevel].bitmap.Dispose();
|
||||
ActiveTexture.EditedImages[CurArrayDisplayLevel] = null;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user