On 02/18/2015 11:21 AM, Kornel Benko wrote:
> Unfortunately, I don't have much time to deal with this kind of thing
> right now. Along with everyone else in New England, I am spending way
> too much clearing snow. We have had two major blizzards and over 6 feet
> (about 2 meters) of snow in the last month.
I tried, but did not found where the value is inserted into the dialog.
One of the problems will probably be in GuiHSpace::dialogToParams().
That is where the values in the dialog get passed to back to LyX. I
suspect something goes wrong here:
else if (item == "custom") {
params.kind = keepCB->isChecked() ?
InsetSpaceParams::CUSTOM_PROTECTED :
InsetSpaceParams::CUSTOM;
params.length = GlueLength(widgetsToLength(valueLE, unitCO));
}
In particular, with widgetsToLength.
Richard