mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-07-19 09:39:15 +00:00
frontend-tools: Disable properties deferring in script dialog
Prevents scripts from being able to defer their settings in the properties view (because there's nothing to really defer to).
This commit is contained in:
parent
2a2472e326
commit
9d2715fe72
|
@ -529,10 +529,14 @@ void ScriptsTool::on_scripts_currentRowChanged(int row)
|
|||
|
||||
OBSDataAutoRelease settings = obs_script_get_settings(script);
|
||||
|
||||
propertiesView = new OBSPropertiesView(
|
||||
OBSPropertiesView *view = new OBSPropertiesView(
|
||||
settings.Get(), script,
|
||||
(PropertiesReloadCallback)obs_script_get_properties, nullptr,
|
||||
(PropertiesVisualUpdateCb)obs_script_update);
|
||||
view->SetDeferrable(false);
|
||||
|
||||
propertiesView = view;
|
||||
|
||||
ui->propertiesLayout->addWidget(propertiesView);
|
||||
ui->description->setText(obs_script_get_description(script));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue