mirror of
https://github.com/LIV2/amiberry.git
synced 2025-12-05 22:22:44 +00:00
bugfix: Config description was not set when using WHDLoad (fixes #1580)
This commit is contained in:
parent
2eca3a4ddb
commit
44c6ce7b0a
@ -277,6 +277,7 @@ void RefreshPanelConfig()
|
||||
if (last_active_config[0])
|
||||
{
|
||||
txtName->setText(last_active_config);
|
||||
txtDesc->setText(changed_prefs.description);
|
||||
}
|
||||
|
||||
// Search current entry
|
||||
|
||||
@ -445,8 +445,7 @@ public:
|
||||
whdload_auto_prefs(&changed_prefs, whdload_prefs.whdload_filename.c_str());
|
||||
|
||||
AdjustDropDownControls();
|
||||
if (!last_loaded_config[0])
|
||||
set_last_active_config(whdload_prefs.whdload_filename.c_str());
|
||||
set_last_active_config(whdload_prefs.whdload_filename.c_str());
|
||||
}
|
||||
cmdWhdloadSelect->requestFocus();
|
||||
}
|
||||
@ -474,6 +473,9 @@ public:
|
||||
bIgnoreListChange = false;
|
||||
}
|
||||
whdload_auto_prefs(&changed_prefs, whdload_prefs.whdload_filename.c_str());
|
||||
|
||||
AdjustDropDownControls();
|
||||
set_last_active_config(whdload_prefs.whdload_filename.c_str());
|
||||
}
|
||||
}
|
||||
refresh_all_panels();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user