浏览代码

UI: Add accessible names to hotkey edit boxes

DriftedClouds 1 年之前
父节点
当前提交
db3072f33c
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      UI/window-basic-settings.cpp

+ 1 - 0
UI/window-basic-settings.cpp

@@ -3037,6 +3037,7 @@ LayoutHotkey(OBSBasicSettings *settings, obs_hotkey_id id, obs_hotkey_t *key,
 					 settings, combos->second);
 
 	hw->label = label;
+	hw->setAccessibleName(text);
 	label->widget = hw;
 
 	fun(key, label, hw);