1
1
Fork 0
mirror of https://github.com/FellippeHeitor/InForm.git synced 2024-05-12 06:50:12 +00:00

Remove remaining dead update code

This commit is contained in:
Samuel Gomes 2024-01-09 04:05:12 +05:30
parent a76449ad62
commit 347b7e07fe
3 changed files with 13 additions and 7 deletions

View file

@ -2596,12 +2596,6 @@ SUB SaveSettings
IF __UI_ShowInvisibleControls THEN value$ = "True" ELSE value$ = "False"
WriteSetting "InForm/InForm.ini", "InForm Settings", "Show invisible controls", value$
value$ = "False" ' *** Removing the checking for update function
WriteSetting "InForm/InForm.ini", "InForm Settings", "Check for updates", value$
value$ = "False" ' *** Removing the checking for update function
WriteSetting "InForm/InForm.ini", "InForm Settings", "Receive development updates", value$
IF ShowFontList THEN value$ = "True" ELSE value$ = "False"
WriteSetting "InForm/InForm.ini", "InForm Settings", "Show font list", value$

View file

@ -104,7 +104,7 @@ $IF STRINGFILE_BAS = UNDEFINED THEN
END FUNCTION
' Saves a string buffer to a file
' Saves a StringFile object to a file
' This does not disturb the read / write cursor
FUNCTION StringFile_Save%% (stringFile AS StringFileType, fileName AS STRING, overwrite AS _BYTE)
IF _FILEEXISTS(fileName) AND NOT overwrite THEN EXIT FUNCTION

View file

@ -1022,11 +1022,23 @@ END SUB
SUB __UI_TextChanged (id AS LONG)
SELECT CASE id
CASE lblAnswer
CASE lblMemory
CASE lblHistory
END SELECT
END SUB
SUB __UI_ValueChanged (id AS LONG)
SELECT CASE id
CASE lblAnswer
CASE lblMemory
CASE lblHistory
END SELECT
END SUB