Announcement

Collapse
No announcement yet.

LoadSettingsFromIni not loading saved text for input fields

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    LoadSettingsFromIni not loading saved text for input fields

    Is LoadSettingsFromIni supposed to populate Input fields from values found in the .ini file? It seems it should, but it doesn't. It loads other types of values (for example, for Toggles), but not for any Input field I create. I've double checked all the name references and when I dump out the Settings object after calling LoadSettingsFromIni the Input fields all have a value of null.

    #2
    I posted this as an Issue on GitHub and included a workaround. https://github.com/HomeSeer/Plugin-SDK/issues/111

    Comment


      #3
      That worked like a charm! Took me forever to realize that the settings were not loading.

      Are you also finding that GetINISetting() doesn't work? I am unable to retrieve the settings after it loads and had to write my own function to retrieve the settings through GetIniSection()

      Comment

      Working...
      X