small fixes

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5270 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
John Levon 2002-09-11 17:53:15 +00:00
parent c25a3c200c
commit b7c25c8a80
4 changed files with 20 additions and 5 deletions

View File

@ -1,3 +1,13 @@
2002-09-11 John Levon <levon@movementarian.org>
* QCitationDialog.C: show right info when selecting a cite
* QParagraphDialog.C: don't validate lengths, to allow glue
2002-09-11 Juergen Spitzmueller <j.spitzmueller@gmx.de>
* QFloatDialog.C: Fix the setEnable() logic
2002-09-11 John Levon <levon@movementarian.org> 2002-09-11 John Levon <levon@movementarian.org>
* Alert_pimpl.C: * Alert_pimpl.C:

View File

@ -135,7 +135,7 @@ void QCitationDialog::slotCiteHighlighted(int sel)
// Put into browser_info the additional info associated // Put into browser_info the additional info associated
// with the selected browser_cite key // with the selected browser_cite key
infoML->clear(); infoML->clear();
infoML->setText(biblio::getInfo(theMap, form_->bibkeys[sel]).c_str()); infoML->setText(biblio::getInfo(theMap, form_->citekeys[sel]).c_str());
} }
} }

View File

@ -58,22 +58,26 @@ void QFloatDialog::tbhpClicked()
void QFloatDialog::heredefinitelyClicked() void QFloatDialog::heredefinitelyClicked()
{ {
if (heredefinitelyCB->isChecked());
ignoreCB->setEnabled(false);
topCB->setChecked(false); topCB->setChecked(false);
bottomCB->setChecked(false); bottomCB->setChecked(false);
pageCB->setChecked(false); pageCB->setChecked(false);
herepossiblyCB->setChecked(false); herepossiblyCB->setChecked(false);
ignoreCB->setChecked(false);
} }
void QFloatDialog::spanClicked() void QFloatDialog::spanClicked()
{ {
bool const span(spanCB->isChecked()); bool const span(spanCB->isChecked());
if (!defaultsCB->isChecked()) { if (!defaultsCB->isChecked()) {
herepossiblyCB->setEnabled(!span); herepossiblyCB->setEnabled(!span);
heredefinitelyCB->setEnabled(!span); heredefinitelyCB->setEnabled(!span);
} }
if (!span) if (!span)
return; return;

View File

@ -31,8 +31,9 @@ QParagraphDialog::QParagraphDialog(QParagraph * form)
linespacingValue->setValidator(new QDoubleValidator(linespacingValue)); linespacingValue->setValidator(new QDoubleValidator(linespacingValue));
valueAbove->setValidator(new QDoubleValidator(valueAbove)); // disabled to allow glue spacing for latexperts
valueBelow->setValidator(new QDoubleValidator(valueBelow)); //valueAbove->setValidator(new QDoubleValidator(valueAbove));
//valueBelow->setValidator(new QDoubleValidator(valueBelow));
} }
void QParagraphDialog::closeEvent(QCloseEvent * e) void QParagraphDialog::closeEvent(QCloseEvent * e)