1
1
Fork 0
mirror of https://github.com/FellippeHeitor/InForm.git synced 2025-01-14 19:49:33 +00:00

Prevents asking the user to add the GIF extension when it's already there.

This commit is contained in:
FellippeHeitor 2018-11-07 23:01:11 -02:00
parent 80a50fb01a
commit f592abcc16

View file

@ -3752,7 +3752,7 @@ SUB LoadPreview
TIMER(__UI_RefreshTimer) ON
IF LoadedWithGifExtension = 1 THEN LoadedWithGifExtension = False
IF PrevTotalGifLoaded <> TotalGifLoaded THEN
IF PrevTotalGifLoaded = 0 THEN
IF PrevTotalGifLoaded = 0 AND LoadedWithGifExtension = False THEN
Answer = MessageBox("You loaded an animated GIF file.\nDo you want to include the GIF extension?", "", MsgBox_YesNo + MsgBox_Question)
IF Answer = MsgBox_Yes THEN
Control(AddGifExtensionToggle).Value = True