>>>>> "Nirmal" == Nirmal Govind <[EMAIL PROTECTED]> writes:
Nirmal> Yes.. I downloaded the whole tree again today afternoon and
Nirmal> did a fresh compile in a different folder.. this time with qt
Nirmal> as the frontend.. now it crashes as soon as I try changing the
Nirmal> external material menu from chess diagram to xfig. Earlier,
Nirmal> with xforms, it used to crash only when I tried viewing the
Nirmal> DVI after inserting the fig file. Here's the backtrace with
Nirmal> the qt version:
OK, this is in QExternal, then. Template indices are 0-based, and
QExternal adds 1 to the index at at least two places:
string const & QExternal::helpText()
{
InsetExternal::Params & params = controller().params();
params.templ = controller().getTemplate(dialog_->externalCO->currentItem() +
1);
return params.templ.helpText;
}
void QExternal::apply()
{
InsetExternal::Params & params = controller().params();
params.filename = dialog_->fileED->text().latin1();
params.parameters = dialog_->paramsED->text().latin1();
params.templ = controller().getTemplate(dialog_->externalCO->currentItem() +
1);
}
I will not propose a patch since I can't test it. John, could you have
a quick look?
JMarc