Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Disable clip properties proxy if not enabled in project

parent 5d12d326
......@@ -368,6 +368,7 @@ ClipPropertiesController::ClipPropertiesController(ClipController *controller, Q
auto *pbox = new QCheckBox(i18n("Proxy clip"), this);
pbox->setObjectName(QStringLiteral("kdenlive:proxy"));
pbox->setChecked(proxy.length() > 2);
pbox->setEnabled(pCore->projectManager()->current()->getDocumentProperty(QStringLiteral("enableproxy")).toInt() != 0);
connect(pbox, &QCheckBox::toggled, [this, bg](bool toggled) {
emit requestProxy(toggled);
bg->setEnabled(toggled);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment