preview fw/back buttons not enabled if only one animation

This commit is contained in:
Tim Young 2017-09-19 08:44:04 -05:00
parent fb0771a474
commit 9f6412e916

View File

@ -128,11 +128,15 @@ namespace SpriteLibrary
{ {
btnAnimBack.Enabled = true; btnAnimBack.Enabled = true;
btnAnimFwd.Enabled = true; btnAnimFwd.Enabled = true;
btnPreviewAnimBack.Enabled = true;
btnPreviewAnimFwd.Enabled = true;
} }
else else
{ {
btnAnimBack.Enabled = false; btnAnimBack.Enabled = false;
btnAnimFwd.Enabled = false; btnAnimFwd.Enabled = false;
btnPreviewAnimBack.Enabled = false;
btnPreviewAnimFwd.Enabled = false;
} }
if (rbFromImage.Checked) if (rbFromImage.Checked)
{ {