Plugin development kit for the 4th major edition of the HomeSeer platform.
GNU Affero General Public License v3.0
20
stars
4
forks
source link
Settings page always returns to 1st tab after changing and saving a setting on any tab. #273
Open
ralphPY opened 2 years ago
Description
The settings page always returns to the tab at index 0 after changing and saving a setting on any tab.
Regardless the setting Settings. SelectedPageIndex = Settings.IndexOf(pageId); (or as a test any hardcoded int value like SelectedPageIndex = 1;)
Screenshots
Not applicable
Expected Behavior
I expected to see the settingspage stay on the tab which was just modified and saved
Steps to Reproduce
Settings.SelectedPageIndex = Settings.IndexOf(pageId);
to OnSettingChange method in HSPI.csSettings.Swap(Settings.IndexOf(pageId), 0);
Logs
Not applicable