mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-14 18:58:36 +12:00
input: fix custom pad config removal
This commit is contained in:
parent
fe0c164de2
commit
76ac8ffbd6
3 changed files with 15 additions and 0 deletions
|
@ -1466,6 +1466,11 @@ bool game_list_frame::RemoveCustomPadConfiguration(const std::string& title_id,
|
|||
: tr("Remove custom pad configuration?")) != QMessageBox::Yes)
|
||||
return true;
|
||||
|
||||
g_cfg_profile.load();
|
||||
g_cfg_profile.active_profiles.erase(title_id);
|
||||
g_cfg_profile.save();
|
||||
game_list_log.notice("Removed active pad profile entry for key '%s'", title_id);
|
||||
|
||||
if (QDir(qstr(config_dir)).removeRecursively())
|
||||
{
|
||||
if (game)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue