Skip to content

separate Switch_SettingsPanel from Switch_Settings. - #1362

Merged
jw098 merged 1 commit into
PokemonAutomation:mainfrom
jw098:switch-settings
Aug 8, 2026
Merged

separate Switch_SettingsPanel from Switch_Settings.#1362
jw098 merged 1 commit into
PokemonAutomation:mainfrom
jw098:switch-settings

Conversation

@jw098

@jw098 jw098 commented Aug 8, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

// This is brutal (tech-debt). The only way to force the settings to save
// is to load the panel. TODO: Redesign panels to allow external editing.
// This is also coming in from a different thread (not the main Qt thread).
PanelDescriptorWrapper<ConsoleSettings_Descriptor, ConsoleSettingsPanel>().make_panel()->save_settings();

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because of this line, we have to pull in SettingsPanel, which isn't ideal.

@jw098
jw098 merged commit 3794029 into PokemonAutomation:main Aug 8, 2026
6 of 7 checks passed
@jw098
jw098 deleted the switch-settings branch August 8, 2026 16:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants