applets/controller: Load configuration prior to setting up connections

This avoids unintentionally changing the states of elements while loading them in.
This commit is contained in:
Morph 2020-08-27 03:52:26 -04:00
parent afa931cb3c
commit 38fcde96d7
2 changed files with 29 additions and 23 deletions

View file

@ -37,6 +37,9 @@ private:
// Applies the current configuration.
void ApplyConfiguration();
// Loads the current input configuration into the frontend applet.
void LoadConfiguration();
// Initializes the "Configure Input" Dialog.
void CallConfigureInputDialog();
@ -68,9 +71,6 @@ private:
// Disables and disconnects unsupported players based on the given parameters.
void DisableUnsupportedPlayers();
// Loads the current input configuration into the frontend applet.
void LoadConfiguration();
std::unique_ptr<Ui::QtControllerSelectorDialog> ui;
// Parameters sent in from the backend HLE applet.