mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-05 06:21:26 +12:00
Ignore sorting on ranged combobox and log message
This commit is contained in:
parent
bad0415f05
commit
f995771143
1 changed files with 5 additions and 0 deletions
|
@ -254,6 +254,11 @@ void emu_settings::EnhanceComboBox(QComboBox* combobox, SettingsType type, bool
|
||||||
|
|
||||||
if (is_ranged)
|
if (is_ranged)
|
||||||
{
|
{
|
||||||
|
if (sorted)
|
||||||
|
{
|
||||||
|
LOG_WARNING(GENERAL, "EnhanceCombobox '%s': ignoring sorting request on ranged combo box", GetSettingName(type));
|
||||||
|
}
|
||||||
|
|
||||||
QStringList range = GetSettingOptions(type);
|
QStringList range = GetSettingOptions(type);
|
||||||
|
|
||||||
int max_item = use_max ? max : range.last().toInt();
|
int max_item = use_max ? max : range.last().toInt();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue