macOS Accessibility: Fix role for comboboxes
Otherwise combobox with editable text field won't work. Change-Id: I135c3a63cf8fba66d724e140a5a63828853e154e Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
This commit is contained in:
parent
985f491024
commit
cc5c47d85f
@ -133,7 +133,7 @@ static void populateRoleMap()
|
||||
roleMap[QAccessible::SpinBox] = NSAccessibilityIncrementorRole;
|
||||
roleMap[QAccessible::Slider] = NSAccessibilitySliderRole;
|
||||
roleMap[QAccessible::ProgressBar] = NSAccessibilityProgressIndicatorRole;
|
||||
roleMap[QAccessible::ComboBox] = NSAccessibilityPopUpButtonRole;
|
||||
roleMap[QAccessible::ComboBox] = NSAccessibilityComboBoxRole;
|
||||
roleMap[QAccessible::RadioButton] = NSAccessibilityRadioButtonRole;
|
||||
roleMap[QAccessible::CheckBox] = NSAccessibilityCheckBoxRole;
|
||||
roleMap[QAccessible::StaticText] = NSAccessibilityStaticTextRole;
|
||||
|
Loading…
Reference in New Issue
Block a user