mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
fill combo boxes in search dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5267 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
7bf3b1dd13
commit
13daf48c60
@ -1,3 +1,7 @@
|
||||
2002-09-11 John Levon <levon@movementarian.org>
|
||||
|
||||
* QSearchDialog.C: fill combo boxes
|
||||
|
||||
2002-09-11 John Levon <levon@movementarian.org>
|
||||
|
||||
* qscreen.C: use repaint() not update() for immediate change
|
||||
|
@ -23,6 +23,10 @@ QSearchDialog::QSearchDialog(QSearch * form)
|
||||
{
|
||||
connect(closePB, SIGNAL(clicked()),
|
||||
form_, SLOT(slotClose()));
|
||||
findCO->setDuplicatesEnabled(false);
|
||||
findCO->setInsertionPolicy(QComboBox::AtTop);
|
||||
replaceCO->setDuplicatesEnabled(false);
|
||||
replaceCO->setInsertionPolicy(QComboBox::AtTop);
|
||||
}
|
||||
|
||||
|
||||
@ -54,6 +58,7 @@ void QSearchDialog::findClicked()
|
||||
caseCB->isChecked(),
|
||||
wordsCB->isChecked(),
|
||||
backwardsCB->isChecked());
|
||||
findCO->insertItem(findCO->currentText());
|
||||
}
|
||||
|
||||
|
||||
@ -65,6 +70,7 @@ void QSearchDialog::replaceClicked()
|
||||
caseCB->isChecked(),
|
||||
wordsCB->isChecked(),
|
||||
false);
|
||||
replaceCO->insertItem(replaceCO->currentText());
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user