Fixed Custom Panel would not get automatically updated if changes were made in the Input Panel
This commit is contained in:
parent
a3bffcf704
commit
67b2b9239c
1 changed files with 6 additions and 0 deletions
|
@ -138,6 +138,7 @@ public:
|
|||
changed_prefs.jports[current_port].id = portListIDs[sel];
|
||||
inputdevice_updateconfig(nullptr, &changed_prefs);
|
||||
RefreshPanelInput();
|
||||
RefreshPanelCustom();
|
||||
}
|
||||
else if (actionEvent.getSource() == cboPort1)
|
||||
{
|
||||
|
@ -152,6 +153,7 @@ public:
|
|||
changed_prefs.jports[current_port].id = portListIDs[sel];
|
||||
inputdevice_updateconfig(nullptr, &changed_prefs);
|
||||
RefreshPanelInput();
|
||||
RefreshPanelCustom();
|
||||
}
|
||||
|
||||
else if (actionEvent.getSource() == cboPort2)
|
||||
|
@ -167,6 +169,7 @@ public:
|
|||
changed_prefs.jports[current_port].id = portListIDs[sel];
|
||||
inputdevice_updateconfig(nullptr, &changed_prefs);
|
||||
RefreshPanelInput();
|
||||
RefreshPanelCustom();
|
||||
}
|
||||
|
||||
else if (actionEvent.getSource() == cboPort3)
|
||||
|
@ -182,6 +185,7 @@ public:
|
|||
changed_prefs.jports[current_port].id = portListIDs[sel];
|
||||
inputdevice_updateconfig(nullptr, &changed_prefs);
|
||||
RefreshPanelInput();
|
||||
RefreshPanelCustom();
|
||||
}
|
||||
|
||||
else if (actionEvent.getSource() == cboPort0mode)
|
||||
|
@ -197,6 +201,7 @@ public:
|
|||
|
||||
inputdevice_updateconfig(nullptr, &changed_prefs);
|
||||
RefreshPanelInput();
|
||||
RefreshPanelCustom();
|
||||
}
|
||||
else if (actionEvent.getSource() == cboPort1mode)
|
||||
{
|
||||
|
@ -211,6 +216,7 @@ public:
|
|||
|
||||
inputdevice_updateconfig(nullptr, &changed_prefs);
|
||||
RefreshPanelInput();
|
||||
RefreshPanelCustom();
|
||||
}
|
||||
|
||||
// mousemap drop-down change
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue