this, SLOT(change_adaptor()));
connect(displayscale, SIGNAL(textChanged(const QString&)),
this, SLOT(change_adaptor()));
+ connect(groupId, SIGNAL(textChanged(const QString&)),
+ this, SLOT(change_adaptor()));
displayscale->setValidator(new QIntValidator(displayscale));
bc().setPolicy(ButtonPolicy::NoRepeatedApplyReadOnlyPolicy);
scaleCB->blockSignals(false);
Scale->setEnabled(scaleChecked);
+ groupId->setText(toqstr(igp.groupId));
+
lengthAutoToWidgets(Width, widthUnit, igp.width,
unitDefault);
bool const widthChecked = !Width->text().isEmpty() &&
// more latex options
igp.special = fromqstr(latexoptions->text());
+
+ igp.groupId = fromqstr(groupId->text());
}
InsetGraphicsParams tmp_params(params_);
string const lfun = InsetGraphics::params2string(tmp_params, buffer());
dispatch(FuncRequest(getLfun(), lfun));
+ if (!params_.groupId.empty())
+ dispatch(FuncRequest(LFUN_GRAPHICS_GROUPS_UNIFY,
+ InsetGraphics::params2string(params_, buffer())));
}