提交 161198ba 编写于 作者: J jp9000

UI: Fix bug where password property won't save

In my recent update to add a "show" button to the passworded text
property, I neglected to connect the edit widget to
WidgetInfo::ControlChanged, so it isn't able to detect when the text is
changed by the user.
上级 703e0e28
......@@ -215,6 +215,9 @@ QWidget *OBSPropertiesView::AddText(obs_property_t *prop, QFormLayout *layout,
label = new QLabel(QT_UTF8(obs_property_description(prop)));
layout->addRow(label, subLayout);
connect(edit, SIGNAL(textEdited(const QString &)),
info, SLOT(ControlChanged()));
return nullptr;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册