Add null check if pixcturebox updates from other events
This commit is contained in:
parent
f351f30eb7
commit
d100a974eb
Binary file not shown.
@ -333,6 +333,9 @@ namespace Switch_Toolbox.Library.Forms
|
|||||||
|
|
||||||
private void UpdatePictureBox(int ChannelIndex = 0)
|
private void UpdatePictureBox(int ChannelIndex = 0)
|
||||||
{
|
{
|
||||||
|
if (ActiveTexture == null)
|
||||||
|
return;
|
||||||
|
|
||||||
DecodeProcessFinished = false;
|
DecodeProcessFinished = false;
|
||||||
|
|
||||||
PushImage(Properties.Resources.LoadingImage);
|
PushImage(Properties.Resources.LoadingImage);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user